|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBuildDefinition
Method Summary | |
---|---|
IRetentionPolicy |
addRetentionPolicy(BuildReason reason,
BuildStatus status,
int numberToKeep,
DeleteOptions deleteOptions)
Adds a retention policy to the list of retention policies for the build definition. |
ISchedule |
addSchedule()
Adds a schedule to the list of schedules for the build definition. |
IBuildRequest |
createBuildRequest()
Creates an IBuildRequest from the build definition with values for BuildAgent and DropLocation set to DefaultBuildAgent and DefaultDropLocation. |
IBuildDetail |
createManualBuild(java.lang.String buildNumber)
Creates a BuildDetail record in the TFS Build database. |
IBuildDetail |
createManualBuild(java.lang.String buildNumber,
java.lang.String dropLocation)
Creates a BuildDetail record in the TFS Build database. |
IBuildDetail |
createManualBuild(java.lang.String buildNumber,
java.lang.String dropLocation,
BuildStatus buildStatus,
IBuildController controller,
java.lang.String requestedFor)
Creates a BuildDetail record in the TFS Build database. |
IBuildDefinitionSpec |
createSpec()
Creates a new build definition specification for this definition. |
void |
delete()
Deletes this build definition from the server. |
java.util.Map<java.lang.String,java.lang.Object> |
getAttachedProperties()
Attached properties |
int |
getBatchSize()
The maximum batch size for queued builds when using the Gated continuous integration type. |
IBuildController |
getBuildController()
The build controller that builds this build definition. |
java.lang.String |
getBuildControllerURI()
The Uri of the build controller that builds this build definition. |
IBuildServer |
getBuildServer()
Gets the server that owns the build definition. |
java.lang.String |
getConfigurationFolderPath()
|
int |
getContinuousIntegrationQuietPeriod()
The quiet period associated with a 'Batch' continuous integration type. |
ContinuousIntegrationType |
getContinuousIntegrationType()
The ContinuousIntegrationType of the definition. |
java.util.Calendar |
getDateCreated()
The date and time at which this build definition was created. |
java.lang.String |
getDefaultDropLocation()
The default location to drop the output of builds generated by the definition. |
com.microsoft.tfs.core.clients.build.internal.soapextensions.BuildDefinitionSourceProvider |
getDefaultSourceProvider()
Get default source provider. |
java.lang.String |
getDescription()
The description of the definition. |
java.lang.String |
getID()
The Id portion of the build definition's Uri. |
java.lang.String |
getLastBuildURI()
Gets the URI of the last build completed for this build definition regardless of status. |
java.lang.String |
getLastGoodBuildLabel()
The name of the label of the last build generated for the build definition for which compilation and tests were successful. |
java.lang.String |
getLastGoodBuildURI()
Gets the URI of the last build completed for this build definition with a successful compilation and test status. |
IProcessTemplate |
getProcess()
The build process template for the definition. |
java.lang.String |
getProcessParameters()
The default process parameters, used to initialize new build processes. |
DefinitionQueueStatus |
getQueueStatus()
The queue status of the build definition. |
IRetentionPolicy[] |
getRetentionPolicies()
A list of the retention policies for the definition. |
ISchedule[] |
getSchedules()
A list of schedules for the definition |
com.microsoft.tfs.core.clients.build.internal.soapextensions.BuildDefinitionSourceProvider[] |
getSourceProviders()
Get a list of source providers. |
DefinitionTriggerType |
getTriggerType()
Gets or sets the definition system trigger. |
IWorkspaceTemplate |
getWorkspace()
The workspace template for the definition. |
boolean |
isEnabled()
The enabled status of the build definition - when false, no new builds can be generated for the definition. |
IBuildDetail[] |
queryBuilds()
Gets all of the builds for this build definition. |
void |
save()
Saves any changes made to the object to the server. |
void |
setBatchSize(int batchSize)
|
void |
setBuildController(IBuildController controller)
|
void |
setConfigurationFolderPath(java.lang.String path)
|
void |
setContinuousIntegrationQuietPeriod(int value)
|
void |
setContinuousIntegrationType(ContinuousIntegrationType value)
|
void |
setDefaultDropLocation(java.lang.String value)
|
void |
setDefaultSourceProvider(com.microsoft.tfs.core.clients.build.internal.soapextensions.BuildDefinitionSourceProvider provider)
Set default source provider. |
void |
setDescription(java.lang.String description)
|
void |
setEnabled(boolean value)
|
void |
setProcess(IProcessTemplate value)
|
void |
setProcessParameters(java.lang.String value)
|
void |
setQueueStatus(DefinitionQueueStatus status)
|
void |
setTriggerType(DefinitionTriggerType value)
|
Methods inherited from interface com.microsoft.tfs.core.clients.build.IBuildGroupItem |
---|
getFullPath, getName, getTeamProject, getURI, refresh, setName |
Method Detail |
---|
int getBatchSize()
void setBatchSize(int batchSize)
IBuildController getBuildController()
void setBuildController(IBuildController controller)
java.lang.String getBuildControllerURI()
java.lang.String getDescription()
void setDescription(java.lang.String description)
java.lang.String getDefaultDropLocation()
void setDefaultDropLocation(java.lang.String value)
boolean isEnabled()
void setEnabled(boolean value)
DefinitionQueueStatus getQueueStatus()
void setQueueStatus(DefinitionQueueStatus status)
java.lang.String getID()
IRetentionPolicy[] getRetentionPolicies()
ISchedule[] getSchedules()
com.microsoft.tfs.core.clients.build.internal.soapextensions.BuildDefinitionSourceProvider[] getSourceProviders()
com.microsoft.tfs.core.clients.build.internal.soapextensions.BuildDefinitionSourceProvider getDefaultSourceProvider()
void setDefaultSourceProvider(com.microsoft.tfs.core.clients.build.internal.soapextensions.BuildDefinitionSourceProvider provider)
provider
- IWorkspaceTemplate getWorkspace()
java.lang.String getLastBuildURI()
java.lang.String getLastGoodBuildURI()
java.lang.String getLastGoodBuildLabel()
IProcessTemplate getProcess()
void setProcess(IProcessTemplate value)
java.lang.String getProcessParameters()
void setProcessParameters(java.lang.String value)
java.util.Map<java.lang.String,java.lang.Object> getAttachedProperties()
DefinitionTriggerType getTriggerType()
void setTriggerType(DefinitionTriggerType value)
java.util.Calendar getDateCreated()
int getContinuousIntegrationQuietPeriod()
void setContinuousIntegrationQuietPeriod(int value)
IRetentionPolicy addRetentionPolicy(BuildReason reason, BuildStatus status, int numberToKeep, DeleteOptions deleteOptions)
reason
- The reason of the retention policy.status
- numberToKeep
- The number to keep of the retention policy.deleteOptions
- The parts of the build to delete.
ISchedule addSchedule()
IBuildRequest createBuildRequest()
IBuildDetail createManualBuild(java.lang.String buildNumber)
buildNumber
- Build number to assign to the new build.
IBuildDetail createManualBuild(java.lang.String buildNumber, java.lang.String dropLocation)
buildNumber
- Build number to assign to the new build.dropLocation
- Location of the binary files created by the manual build.
IBuildDetail createManualBuild(java.lang.String buildNumber, java.lang.String dropLocation, BuildStatus buildStatus, IBuildController controller, java.lang.String requestedFor)
buildNumber
- Build number to assign to the new build.dropLocation
- Location of the binary files created by the manual build.buildStatus
- The status that you want the build to have. PartiallySucceeded is
not supported.controller
- Agent used to create the build.requestedFor
- The user that requested the build.
void delete()
void save()
IBuildDefinitionSpec createSpec()
IBuildDetail[] queryBuilds()
IBuildServer getBuildServer()
ContinuousIntegrationType getContinuousIntegrationType()
void setContinuousIntegrationType(ContinuousIntegrationType value)
java.lang.String getConfigurationFolderPath()
void setConfigurationFolderPath(java.lang.String path)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |