C# 클래스 JenkinsTransport.JenkinsServerManager

상속: ICruiseServerManager, IJenkinsServerManager
파일 보기 프로젝트 열기: csnate/cctray-jenkins-transport 1 사용 예제들

공개 메소드들

메소드 설명
CancelPendingRequest ( string projectName ) : void
GetCruiseServerSnapshot ( ) : ThoughtWorks.CruiseControl.Remote.CruiseServerSnapshot

This only gets called while CCTray is polling for updates of known jobs WebException is caught and handled as CCTray will not deal with it

GetCruiseServerSnapshotEx ( ) : ThoughtWorks.CruiseControl.Remote.CruiseServerSnapshot

Alternate method for retrieving current status for all projects without exception handling, for use within other ICruiseServerManager methods to provide user feedback

GetProjectList ( ) : ThoughtWorks.CruiseControl.CCTrayLib.Configuration.CCTrayProject[]
Initialize ( ThoughtWorks.CruiseControl.CCTrayLib.Configuration.BuildServer server, string session, Settings settings ) : void

Initializes this instance with the appropriate information

Initialize ( ThoughtWorks.CruiseControl.CCTrayLib.Configuration.BuildServer server, string session, string settings ) : void

Initializes this instance with the appropriate information

JenkinsServerManager ( IWebRequestFactory webRequestFactory, IJenkinsApiFactory apiFactory, IDateTimeService dateTimeService ) : System
Login ( ) : bool
Logout ( ) : void
SetConfiguration ( ThoughtWorks.CruiseControl.CCTrayLib.Configuration.BuildServer server ) : void

Sets the configuration

비공개 메소드들

메소드 설명
HasCacheExpired ( ) : bool
TimeSinceLastUpdate ( ) : System.TimeSpan
UpdateAllJobsIfCacheExpired ( ) : void

메소드 상세

CancelPendingRequest() 공개 메소드

public CancelPendingRequest ( string projectName ) : void
projectName string
리턴 void

GetCruiseServerSnapshot() 공개 메소드

This only gets called while CCTray is polling for updates of known jobs WebException is caught and handled as CCTray will not deal with it
public GetCruiseServerSnapshot ( ) : ThoughtWorks.CruiseControl.Remote.CruiseServerSnapshot
리턴 ThoughtWorks.CruiseControl.Remote.CruiseServerSnapshot

GetCruiseServerSnapshotEx() 공개 메소드

Alternate method for retrieving current status for all projects without exception handling, for use within other ICruiseServerManager methods to provide user feedback
public GetCruiseServerSnapshotEx ( ) : ThoughtWorks.CruiseControl.Remote.CruiseServerSnapshot
리턴 ThoughtWorks.CruiseControl.Remote.CruiseServerSnapshot

GetProjectList() 공개 메소드

public GetProjectList ( ) : ThoughtWorks.CruiseControl.CCTrayLib.Configuration.CCTrayProject[]
리턴 ThoughtWorks.CruiseControl.CCTrayLib.Configuration.CCTrayProject[]

Initialize() 공개 메소드

Initializes this instance with the appropriate information
public Initialize ( ThoughtWorks.CruiseControl.CCTrayLib.Configuration.BuildServer server, string session, Settings settings ) : void
server ThoughtWorks.CruiseControl.CCTrayLib.Configuration.BuildServer the BuildServer
session string the SessionToken
settings Settings the Settings
리턴 void

Initialize() 공개 메소드

Initializes this instance with the appropriate information
public Initialize ( ThoughtWorks.CruiseControl.CCTrayLib.Configuration.BuildServer server, string session, string settings ) : void
server ThoughtWorks.CruiseControl.CCTrayLib.Configuration.BuildServer the BuildServer
session string the SessionToken
settings string the Settings in string form
리턴 void

JenkinsServerManager() 공개 메소드

public JenkinsServerManager ( IWebRequestFactory webRequestFactory, IJenkinsApiFactory apiFactory, IDateTimeService dateTimeService ) : System
webRequestFactory IWebRequestFactory
apiFactory IJenkinsApiFactory
dateTimeService IDateTimeService
리턴 System

Login() 공개 메소드

public Login ( ) : bool
리턴 bool

Logout() 공개 메소드

public Logout ( ) : void
리턴 void

SetConfiguration() 공개 메소드

Sets the configuration
public SetConfiguration ( ThoughtWorks.CruiseControl.CCTrayLib.Configuration.BuildServer server ) : void
server ThoughtWorks.CruiseControl.CCTrayLib.Configuration.BuildServer the BuildServer
리턴 void