C# Class JenkinsTransport.EnumUtils

Afficher le fichier Open project: csnate/cctray-jenkins-transport

Méthodes publiques

Méthode Description
GetIntegrationStatus ( string color ) : IntegrationStatus

Gets the correct IntegrationStatus for the specified Jenkins build color

GetItemBuildStatus ( string color ) : ItemBuildStatus

Gets the item build status for a color. Used in the ProjectStatusSnapshot

GetProjectActivity ( string color ) : ThoughtWorks.CruiseControl.Remote.ProjectActivity

Gets the correct ProjectActivity for the specified Jenkins build color

GetProjectIntegratorState ( bool buildable ) : ProjectIntegratorState

Gets the correct ProjectIntegratorState for the specified Jenkins buildable value. This is the preferred method

GetProjectIntegratorState ( string color ) : ProjectIntegratorState

Gets the correct ProjectIntegratorState for the specified Jenkins build color

Method Details

GetIntegrationStatus() public static méthode

Gets the correct IntegrationStatus for the specified Jenkins build color
public static GetIntegrationStatus ( string color ) : IntegrationStatus
color string the color of the build
Résultat IntegrationStatus

GetItemBuildStatus() public static méthode

Gets the item build status for a color. Used in the ProjectStatusSnapshot
public static GetItemBuildStatus ( string color ) : ItemBuildStatus
color string
Résultat ItemBuildStatus

GetProjectActivity() public static méthode

Gets the correct ProjectActivity for the specified Jenkins build color
public static GetProjectActivity ( string color ) : ThoughtWorks.CruiseControl.Remote.ProjectActivity
color string the color of the build
Résultat ThoughtWorks.CruiseControl.Remote.ProjectActivity

GetProjectIntegratorState() public static méthode

Gets the correct ProjectIntegratorState for the specified Jenkins buildable value. This is the preferred method
public static GetProjectIntegratorState ( bool buildable ) : ProjectIntegratorState
buildable bool the current buildable state
Résultat ProjectIntegratorState

GetProjectIntegratorState() public static méthode

Gets the correct ProjectIntegratorState for the specified Jenkins build color
public static GetProjectIntegratorState ( string color ) : ProjectIntegratorState
color string the color of the build
Résultat ProjectIntegratorState