public interface IBuildRequest extends IBuildRequestHandle, IAuditable, IBuildItem
Modifier and Type | Field and Description |
---|---|
static IItemType |
ITEM_TYPE
The item type for this auditable.
|
static java.lang.String |
PROPERTY_BUILD_ACTION
The name of the build action property.
|
static java.lang.String |
PROPERTY_BUILD_DEFINITION_INSTANCE
The name of the build definition instances property.
|
static java.lang.String |
PROPERTY_BUILD_RESULT
The name of the build result property.
|
static java.lang.String |
PROPERTY_CREATED
The name of the created property.
|
static java.lang.String |
PROPERTY_HANDLER
The name of the handler property.
|
static java.lang.String |
PROPERTY_HANDLING_CONTRIBUTOR
The name of the handling contributor property.
|
static java.lang.String |
PROPERTY_INITIATING_CONTRIBUTOR
The name of the initiating contributor property.
|
static java.lang.String |
PROPERTY_POTENTIAL_HANDLERS
Deprecated.
Potential handlers are now computed at the moment of request
retrieval rather than at the moment of request. This will be
eliminated as part of work item 45604.
|
static java.lang.String |
PROPERTY_PROCESSED
The name of the processed property.
|
PROPERTIES_COMPLETE, PROPERTIES_REQUIRED
MERGE_PREDECESSOR_STATE_PROPERTY, PREDECESSOR_STATE_PROPERTY
CONTEXT_ID_PROPERTY, ITEM_ID_PROPERTY, MAX_LARGE_STRING_BYTES, MAX_MEDIUM_STRING_BYTES, MAX_SMALL_STRING_BYTES, MODIFIED_BY_PROPERTY, MODIFIED_PROPERTY, STATE_ID_PROPERTY
Modifier and Type | Method and Description |
---|---|
IBuildAction |
getBuildAction()
Retrieves the build action indicating the action that should occur for
this request.
|
IBuildDefinitionInstance |
getBuildDefinitionInstance()
Retrieves the snapshot of a build definition at the moment the build
request is made to preserve the state of that build definition to be used
when the request is processed.
|
java.util.Map |
getBuildDefinitionProperties()
Get a copy of the build definition properties from the request's build
definition instance.
|
IBuildResultHandle |
getBuildResult()
Retrieves the build result handle associated with this build request.
|
java.sql.Timestamp |
getCreated()
Retrieves the time the request was made.
|
long |
getCreatedMilliseconds()
Deprecated.
Use
getCreated() instead. |
IBuildEngineHandle |
getHandler()
Retrieves the service that picked up, processed and handled the build
request.
|
IContributorHandle |
getHandlingContributor()
Retrieves the handle of the contributor that initiated the process to
fulfill the build request.
|
IContributorHandle |
getInitiatingContributor()
Retrieves the handle of the contributor that initiated the build request.
|
java.util.List<IBuildEngineHandle> |
getPotentialHandlers()
Returns the handles of build engines that may handle this request.
|
boolean |
isProcessed()
Indicates if the build request has been processed or not.
|
void |
setBuildAction(IBuildAction action)
Sets the build action indicating the action that should occur for this
request.
|
void |
setBuildDefinitionInstance(IBuildDefinitionInstance buildDefinitionInstance)
Sets the snapshot of a build definition at the moment the build request
is made to preserve the state of that build definition to be used when
the request is processed.
|
void |
setBuildResult(IBuildResultHandle buildResultHandle)
Sets the build result associated with this build request.
|
void |
setCreated(java.sql.Timestamp creationTime)
Sets the time the request was made.
|
void |
setHandler(IBuildEngineHandle buildEngineHandle)
Sets the service that picked up, processed and handled the build request.
|
void |
setHandlingContributor(IContributorHandle contributorHandle)
Sets the handle of the contributor that initiated the the process to
fulfill the build request.
|
void |
setInitiatingContributor(IContributorHandle contributorHandle)
Sets the handle of the contributor that initiated the build request.
|
void |
setProcessed(boolean processed)
Sets the flag indicating if the build request has been processed.
|
getMergePredecessorState, getPredecessorState
isNewItem
getContextId, getItemHandle, getModifiedBy, getRedactedCopy, getRequestedModified, getRequestedStateId, getStateHandle, getWorkingCopy, hasHistory, isComplete, isPropertySet, isRedactedCopy, isWorkingCopy, modified, setContextId, setRequestedModified, setRequestedStateId
equals, getAdapter, getFullState, getItemId, getItemType, getOrigin, getStateId, hasFullState, hasStateId, isAuditable, isConfigurationAware, isImmutable, isSimple, isUnmanaged, makeImmutable, protect, sameItemId, sameStateId, size
static final IItemType ITEM_TYPE
static final java.lang.String PROPERTY_BUILD_ACTION
static final java.lang.String PROPERTY_BUILD_RESULT
static final java.lang.String PROPERTY_BUILD_DEFINITION_INSTANCE
static final java.lang.String PROPERTY_CREATED
static final java.lang.String PROPERTY_HANDLER
static final java.lang.String PROPERTY_HANDLING_CONTRIBUTOR
static final java.lang.String PROPERTY_INITIATING_CONTRIBUTOR
static final java.lang.String PROPERTY_POTENTIAL_HANDLERS
static final java.lang.String PROPERTY_PROCESSED
boolean isProcessed()
true
if the build request has been processed.void setProcessed(boolean processed)
processed
- flag indicating if the build request has been processed.IBuildAction getBuildAction()
void setBuildAction(IBuildAction action)
action
- The action that should occur for this request.IBuildDefinitionInstance getBuildDefinitionInstance()
void setBuildDefinitionInstance(IBuildDefinitionInstance buildDefinitionInstance)
buildDefinitionInstance
- The snapshot of a build definition at the moment the build
request is made.void setBuildResult(IBuildResultHandle buildResultHandle)
buildResultHandle
- The build result associated with this build request.IBuildResultHandle getBuildResult()
IContributorHandle getInitiatingContributor()
void setInitiatingContributor(IContributorHandle contributorHandle)
contributorHandle
- The handle of the contributor that initiated the build
request.IContributorHandle getHandlingContributor()
void setHandlingContributor(IContributorHandle contributorHandle)
contributorHandle
- The handle of the contributor that initiated the process to
fulfill the build request.IBuildEngineHandle getHandler()
void setHandler(IBuildEngineHandle buildEngineHandle)
buildEngineHandle
- The service that picked up, processed and handled the build
request.java.sql.Timestamp getCreated()
long getCreatedMilliseconds()
getCreated()
instead.void setCreated(java.sql.Timestamp creationTime)
creationTime
- The time the request was made.java.util.Map getBuildDefinitionProperties()
String
). The map values are
the property values (type String
). The returned
map will be empty if there are no build definition properties.
The returned map will be null if the
buildDefinitionInstance
was not fetched as part of
this item.java.util.List<IBuildEngineHandle> getPotentialHandlers()