Property | Type | Description | |
---|---|---|---|
WebRequestFactory | IWebRequestFactory |
Method | Description | |
---|---|---|
AbortBuild ( |
||
AbortBuild ( string projectName ) : void |
Abort the latest build
|
|
Api ( string baseUrl, string authInfo, IWebRequestFactory webRequestFactory ) : System | ||
ForceBuild ( |
||
ForceBuild ( |
||
ForceBuild ( string projectName ) : void |
Forces a build of a project
|
|
ForceBuild ( string projectName, string>.Dictionary |
Forces a build of a project with parameters
|
|
GetAllJobs ( ) : List |
Retrieve all jobs
|
|
GetAllJobs ( System.Xml.Linq.XDocument xDoc ) : List |
Retrieve all jobs
|
|
GetBuildInformation ( string buildInformationUrl ) : |
Get the build information for a build information url
|
|
GetBuildInformationDoc ( string buildInformationUrl ) : System.Xml.Linq.XDocument | ||
GetBuildParameters ( |
||
GetBuildParameters ( string projectName ) : List |
Returns the build parameters for a project
|
|
GetProjectStatus ( System.Xml.Linq.XDocument xDoc, ThoughtWorks.CruiseControl.Remote.ProjectStatus currentStatus ) : ThoughtWorks.CruiseControl.Remote.ProjectStatus |
Get the project status for a project
|
|
GetProjectStatus ( string projectUrl, ThoughtWorks.CruiseControl.Remote.ProjectStatus currentStatus ) : ThoughtWorks.CruiseControl.Remote.ProjectStatus |
Get the project status for a project
|
|
GetProjectStatusSnapshot ( |
||
GetProjectStatusSnapshot ( System.Xml.Linq.XDocument xDoc ) : ThoughtWorks.CruiseControl.Remote.ProjectStatusSnapshot |
Get the project snapshot for a project
|
|
GetProjectStatusSnapshot ( string projectName ) : ThoughtWorks.CruiseControl.Remote.ProjectStatusSnapshot |
Get the project snapshot for a project
|
|
StartProject ( |
||
StartProject ( string projectName ) : void |
Starts (enables) a project
|
|
StopProject ( string projectName ) : void |
Stops (disables) a project
|
Method | Description | |
---|---|---|
GetXDocument ( IWebRequest request ) : System.Xml.Linq.XDocument | ||
GetXDocument ( string url, string authInfo ) : System.Xml.Linq.XDocument | ||
MakeRequest ( string url, string method = "POST", byte postData = null ) : void |
Method | Description | |
---|---|---|
AbortBuild ( System.Xml.Linq.XDocument xDoc ) : void | ||
GetBuildParameters ( System.Xml.Linq.XDocument xDoc ) : List |
||
HasLastBuildNumberChanged ( ThoughtWorks.CruiseControl.Remote.ProjectStatus currentStatus, System.Xml.Linq.XElement lastBuildElement ) : bool |
public AbortBuild ( |
||
projectUrl | ||
return | void |
public AbortBuild ( string projectName ) : void | ||
projectName | string | the project name to abort |
return | void |
public Api ( string baseUrl, string authInfo, IWebRequestFactory webRequestFactory ) : System | ||
baseUrl | string | |
authInfo | string | |
webRequestFactory | IWebRequestFactory | |
return | System |
public ForceBuild ( |
||
projectUrl | ||
return | void |
public ForceBuild ( |
||
projectUrl | ||
parameters | string>.Dictionary | |
return | void |
public ForceBuild ( string projectName ) : void | ||
projectName | string | the project name to build |
return | void |
public ForceBuild ( string projectName, string>.Dictionary |
||
projectName | string | the project name |
parameters | string>.Dictionary | the parameters to the build |
return | void |
public GetAllJobs ( System.Xml.Linq.XDocument xDoc ) : List |
||
xDoc | System.Xml.Linq.XDocument | the XDocument to parse |
return | List |
public GetBuildInformation ( string buildInformationUrl ) : |
||
buildInformationUrl | string | the build information url, without /api/xml |
return |
public GetBuildInformationDoc ( string buildInformationUrl ) : System.Xml.Linq.XDocument | ||
buildInformationUrl | string | |
return | System.Xml.Linq.XDocument |
public GetBuildParameters ( |
||
projectUri | ||
return | List |
public GetBuildParameters ( string projectName ) : List |
||
projectName | string | the project name |
return | List |
public GetProjectStatus ( System.Xml.Linq.XDocument xDoc, ThoughtWorks.CruiseControl.Remote.ProjectStatus currentStatus ) : ThoughtWorks.CruiseControl.Remote.ProjectStatus | ||
xDoc | System.Xml.Linq.XDocument | the XDocument to parse |
currentStatus | ThoughtWorks.CruiseControl.Remote.ProjectStatus | the current stored status |
return | ThoughtWorks.CruiseControl.Remote.ProjectStatus |
public GetProjectStatus ( string projectUrl, ThoughtWorks.CruiseControl.Remote.ProjectStatus currentStatus ) : ThoughtWorks.CruiseControl.Remote.ProjectStatus | ||
projectUrl | string | the project url to retrieve the info |
currentStatus | ThoughtWorks.CruiseControl.Remote.ProjectStatus | the current stored status |
return | ThoughtWorks.CruiseControl.Remote.ProjectStatus |
public GetProjectStatusSnapshot ( |
||
projectUrl | ||
return | ThoughtWorks.CruiseControl.Remote.ProjectStatusSnapshot |
public GetProjectStatusSnapshot ( System.Xml.Linq.XDocument xDoc ) : ThoughtWorks.CruiseControl.Remote.ProjectStatusSnapshot | ||
xDoc | System.Xml.Linq.XDocument | the XDcoument to parse |
return | ThoughtWorks.CruiseControl.Remote.ProjectStatusSnapshot |
public GetProjectStatusSnapshot ( string projectName ) : ThoughtWorks.CruiseControl.Remote.ProjectStatusSnapshot | ||
projectName | string | the project name to check |
return | ThoughtWorks.CruiseControl.Remote.ProjectStatusSnapshot |
protected GetXDocument ( IWebRequest request ) : System.Xml.Linq.XDocument | ||
request | IWebRequest | |
return | System.Xml.Linq.XDocument |
protected GetXDocument ( string url, string authInfo ) : System.Xml.Linq.XDocument | ||
url | string | |
authInfo | string | |
return | System.Xml.Linq.XDocument |
protected MakeRequest ( string url, string method = "POST", byte postData = null ) : void | ||
url | string | |
method | string | |
postData | byte | |
return | void |
public StartProject ( |
||
projectUrl | ||
return | void |
public StartProject ( string projectName ) : void | ||
projectName | string | |
return | void |
public StopProject ( string projectName ) : void | ||
projectName | string | the project name to disable |
return | void |