C# Class JenkinsTransport.EnumUtils

Show file Open project: csnate/cctray-jenkins-transport

Public Methods

Method 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 method

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

GetItemBuildStatus() public static method

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

GetProjectActivity() public static method

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
return ThoughtWorks.CruiseControl.Remote.ProjectActivity

GetProjectIntegratorState() public static method

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
return ProjectIntegratorState

GetProjectIntegratorState() public static method

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