@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BuildPhase extends Object implements Serializable, Cloneable, StructuredPojo
Information about a stage for a build.
Constructor and Description |
---|
BuildPhase() |
Modifier and Type | Method and Description |
---|---|
BuildPhase |
clone() |
boolean |
equals(Object obj) |
List<PhaseContext> |
getContexts()
Additional information about a build phase, especially to help troubleshoot a failed build.
|
Long |
getDurationInSeconds()
How long, in seconds, between the starting and ending times of the build's phase.
|
Date |
getEndTime()
When the build phase ended, expressed in Unix time format.
|
String |
getPhaseStatus()
The current status of the build phase.
|
String |
getPhaseType()
The name of the build phase.
|
Date |
getStartTime()
When the build phase started, expressed in Unix time format.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContexts(Collection<PhaseContext> contexts)
Additional information about a build phase, especially to help troubleshoot a failed build.
|
void |
setDurationInSeconds(Long durationInSeconds)
How long, in seconds, between the starting and ending times of the build's phase.
|
void |
setEndTime(Date endTime)
When the build phase ended, expressed in Unix time format.
|
void |
setPhaseStatus(StatusType phaseStatus)
The current status of the build phase.
|
void |
setPhaseStatus(String phaseStatus)
The current status of the build phase.
|
void |
setPhaseType(BuildPhaseType phaseType)
The name of the build phase.
|
void |
setPhaseType(String phaseType)
The name of the build phase.
|
void |
setStartTime(Date startTime)
When the build phase started, expressed in Unix time format.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
BuildPhase |
withContexts(Collection<PhaseContext> contexts)
Additional information about a build phase, especially to help troubleshoot a failed build.
|
BuildPhase |
withContexts(PhaseContext... contexts)
Additional information about a build phase, especially to help troubleshoot a failed build.
|
BuildPhase |
withDurationInSeconds(Long durationInSeconds)
How long, in seconds, between the starting and ending times of the build's phase.
|
BuildPhase |
withEndTime(Date endTime)
When the build phase ended, expressed in Unix time format.
|
BuildPhase |
withPhaseStatus(StatusType phaseStatus)
The current status of the build phase.
|
BuildPhase |
withPhaseStatus(String phaseStatus)
The current status of the build phase.
|
BuildPhase |
withPhaseType(BuildPhaseType phaseType)
The name of the build phase.
|
BuildPhase |
withPhaseType(String phaseType)
The name of the build phase.
|
BuildPhase |
withStartTime(Date startTime)
When the build phase started, expressed in Unix time format.
|
public void setPhaseType(String phaseType)
The name of the build phase. Valid values include:
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has been completed.
DOWNLOAD_SOURCE
: Source code is being downloaded in this build phase.
FINALIZING
: The build process is completing in this build phase.
INSTALL
: Installation activities typically occur in this build phase.
POST_BUILD
: Post-build activities typically occur in this build phase.
PRE_BUILD
: Pre-build activities typically occur in this build phase.
PROVISIONING
: The build environment is being set up.
SUBMITTED
: The build has been submitted.
UPLOAD_ARTIFACTS
: Build output artifacts are being uploaded to the output location.
phaseType
- The name of the build phase. Valid values include:
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has been completed.
DOWNLOAD_SOURCE
: Source code is being downloaded in this build phase.
FINALIZING
: The build process is completing in this build phase.
INSTALL
: Installation activities typically occur in this build phase.
POST_BUILD
: Post-build activities typically occur in this build phase.
PRE_BUILD
: Pre-build activities typically occur in this build phase.
PROVISIONING
: The build environment is being set up.
SUBMITTED
: The build has been submitted.
UPLOAD_ARTIFACTS
: Build output artifacts are being uploaded to the output location.
BuildPhaseType
public String getPhaseType()
The name of the build phase. Valid values include:
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has been completed.
DOWNLOAD_SOURCE
: Source code is being downloaded in this build phase.
FINALIZING
: The build process is completing in this build phase.
INSTALL
: Installation activities typically occur in this build phase.
POST_BUILD
: Post-build activities typically occur in this build phase.
PRE_BUILD
: Pre-build activities typically occur in this build phase.
PROVISIONING
: The build environment is being set up.
SUBMITTED
: The build has been submitted.
UPLOAD_ARTIFACTS
: Build output artifacts are being uploaded to the output location.
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has been completed.
DOWNLOAD_SOURCE
: Source code is being downloaded in this build phase.
FINALIZING
: The build process is completing in this build phase.
INSTALL
: Installation activities typically occur in this build phase.
POST_BUILD
: Post-build activities typically occur in this build phase.
PRE_BUILD
: Pre-build activities typically occur in this build phase.
PROVISIONING
: The build environment is being set up.
SUBMITTED
: The build has been submitted.
UPLOAD_ARTIFACTS
: Build output artifacts are being uploaded to the output location.
BuildPhaseType
public BuildPhase withPhaseType(String phaseType)
The name of the build phase. Valid values include:
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has been completed.
DOWNLOAD_SOURCE
: Source code is being downloaded in this build phase.
FINALIZING
: The build process is completing in this build phase.
INSTALL
: Installation activities typically occur in this build phase.
POST_BUILD
: Post-build activities typically occur in this build phase.
PRE_BUILD
: Pre-build activities typically occur in this build phase.
PROVISIONING
: The build environment is being set up.
SUBMITTED
: The build has been submitted.
UPLOAD_ARTIFACTS
: Build output artifacts are being uploaded to the output location.
phaseType
- The name of the build phase. Valid values include:
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has been completed.
DOWNLOAD_SOURCE
: Source code is being downloaded in this build phase.
FINALIZING
: The build process is completing in this build phase.
INSTALL
: Installation activities typically occur in this build phase.
POST_BUILD
: Post-build activities typically occur in this build phase.
PRE_BUILD
: Pre-build activities typically occur in this build phase.
PROVISIONING
: The build environment is being set up.
SUBMITTED
: The build has been submitted.
UPLOAD_ARTIFACTS
: Build output artifacts are being uploaded to the output location.
BuildPhaseType
public void setPhaseType(BuildPhaseType phaseType)
The name of the build phase. Valid values include:
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has been completed.
DOWNLOAD_SOURCE
: Source code is being downloaded in this build phase.
FINALIZING
: The build process is completing in this build phase.
INSTALL
: Installation activities typically occur in this build phase.
POST_BUILD
: Post-build activities typically occur in this build phase.
PRE_BUILD
: Pre-build activities typically occur in this build phase.
PROVISIONING
: The build environment is being set up.
SUBMITTED
: The build has been submitted.
UPLOAD_ARTIFACTS
: Build output artifacts are being uploaded to the output location.
phaseType
- The name of the build phase. Valid values include:
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has been completed.
DOWNLOAD_SOURCE
: Source code is being downloaded in this build phase.
FINALIZING
: The build process is completing in this build phase.
INSTALL
: Installation activities typically occur in this build phase.
POST_BUILD
: Post-build activities typically occur in this build phase.
PRE_BUILD
: Pre-build activities typically occur in this build phase.
PROVISIONING
: The build environment is being set up.
SUBMITTED
: The build has been submitted.
UPLOAD_ARTIFACTS
: Build output artifacts are being uploaded to the output location.
BuildPhaseType
public BuildPhase withPhaseType(BuildPhaseType phaseType)
The name of the build phase. Valid values include:
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has been completed.
DOWNLOAD_SOURCE
: Source code is being downloaded in this build phase.
FINALIZING
: The build process is completing in this build phase.
INSTALL
: Installation activities typically occur in this build phase.
POST_BUILD
: Post-build activities typically occur in this build phase.
PRE_BUILD
: Pre-build activities typically occur in this build phase.
PROVISIONING
: The build environment is being set up.
SUBMITTED
: The build has been submitted.
UPLOAD_ARTIFACTS
: Build output artifacts are being uploaded to the output location.
phaseType
- The name of the build phase. Valid values include:
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has been completed.
DOWNLOAD_SOURCE
: Source code is being downloaded in this build phase.
FINALIZING
: The build process is completing in this build phase.
INSTALL
: Installation activities typically occur in this build phase.
POST_BUILD
: Post-build activities typically occur in this build phase.
PRE_BUILD
: Pre-build activities typically occur in this build phase.
PROVISIONING
: The build environment is being set up.
SUBMITTED
: The build has been submitted.
UPLOAD_ARTIFACTS
: Build output artifacts are being uploaded to the output location.
BuildPhaseType
public void setPhaseStatus(String phaseStatus)
The current status of the build phase. Valid values include:
FAILED
: The build phase failed.
FAULT
: The build phase faulted.
IN_PROGRESS
: The build phase is still in progress.
STOPPED
: The build phase stopped.
SUCCEEDED
: The build phase succeeded.
TIMED_OUT
: The build phase timed out.
phaseStatus
- The current status of the build phase. Valid values include:
FAILED
: The build phase failed.
FAULT
: The build phase faulted.
IN_PROGRESS
: The build phase is still in progress.
STOPPED
: The build phase stopped.
SUCCEEDED
: The build phase succeeded.
TIMED_OUT
: The build phase timed out.
StatusType
public String getPhaseStatus()
The current status of the build phase. Valid values include:
FAILED
: The build phase failed.
FAULT
: The build phase faulted.
IN_PROGRESS
: The build phase is still in progress.
STOPPED
: The build phase stopped.
SUCCEEDED
: The build phase succeeded.
TIMED_OUT
: The build phase timed out.
FAILED
: The build phase failed.
FAULT
: The build phase faulted.
IN_PROGRESS
: The build phase is still in progress.
STOPPED
: The build phase stopped.
SUCCEEDED
: The build phase succeeded.
TIMED_OUT
: The build phase timed out.
StatusType
public BuildPhase withPhaseStatus(String phaseStatus)
The current status of the build phase. Valid values include:
FAILED
: The build phase failed.
FAULT
: The build phase faulted.
IN_PROGRESS
: The build phase is still in progress.
STOPPED
: The build phase stopped.
SUCCEEDED
: The build phase succeeded.
TIMED_OUT
: The build phase timed out.
phaseStatus
- The current status of the build phase. Valid values include:
FAILED
: The build phase failed.
FAULT
: The build phase faulted.
IN_PROGRESS
: The build phase is still in progress.
STOPPED
: The build phase stopped.
SUCCEEDED
: The build phase succeeded.
TIMED_OUT
: The build phase timed out.
StatusType
public void setPhaseStatus(StatusType phaseStatus)
The current status of the build phase. Valid values include:
FAILED
: The build phase failed.
FAULT
: The build phase faulted.
IN_PROGRESS
: The build phase is still in progress.
STOPPED
: The build phase stopped.
SUCCEEDED
: The build phase succeeded.
TIMED_OUT
: The build phase timed out.
phaseStatus
- The current status of the build phase. Valid values include:
FAILED
: The build phase failed.
FAULT
: The build phase faulted.
IN_PROGRESS
: The build phase is still in progress.
STOPPED
: The build phase stopped.
SUCCEEDED
: The build phase succeeded.
TIMED_OUT
: The build phase timed out.
StatusType
public BuildPhase withPhaseStatus(StatusType phaseStatus)
The current status of the build phase. Valid values include:
FAILED
: The build phase failed.
FAULT
: The build phase faulted.
IN_PROGRESS
: The build phase is still in progress.
STOPPED
: The build phase stopped.
SUCCEEDED
: The build phase succeeded.
TIMED_OUT
: The build phase timed out.
phaseStatus
- The current status of the build phase. Valid values include:
FAILED
: The build phase failed.
FAULT
: The build phase faulted.
IN_PROGRESS
: The build phase is still in progress.
STOPPED
: The build phase stopped.
SUCCEEDED
: The build phase succeeded.
TIMED_OUT
: The build phase timed out.
StatusType
public void setStartTime(Date startTime)
When the build phase started, expressed in Unix time format.
startTime
- When the build phase started, expressed in Unix time format.public Date getStartTime()
When the build phase started, expressed in Unix time format.
public BuildPhase withStartTime(Date startTime)
When the build phase started, expressed in Unix time format.
startTime
- When the build phase started, expressed in Unix time format.public void setEndTime(Date endTime)
When the build phase ended, expressed in Unix time format.
endTime
- When the build phase ended, expressed in Unix time format.public Date getEndTime()
When the build phase ended, expressed in Unix time format.
public BuildPhase withEndTime(Date endTime)
When the build phase ended, expressed in Unix time format.
endTime
- When the build phase ended, expressed in Unix time format.public void setDurationInSeconds(Long durationInSeconds)
How long, in seconds, between the starting and ending times of the build's phase.
durationInSeconds
- How long, in seconds, between the starting and ending times of the build's phase.public Long getDurationInSeconds()
How long, in seconds, between the starting and ending times of the build's phase.
public BuildPhase withDurationInSeconds(Long durationInSeconds)
How long, in seconds, between the starting and ending times of the build's phase.
durationInSeconds
- How long, in seconds, between the starting and ending times of the build's phase.public List<PhaseContext> getContexts()
Additional information about a build phase, especially to help troubleshoot a failed build.
public void setContexts(Collection<PhaseContext> contexts)
Additional information about a build phase, especially to help troubleshoot a failed build.
contexts
- Additional information about a build phase, especially to help troubleshoot a failed build.public BuildPhase withContexts(PhaseContext... contexts)
Additional information about a build phase, especially to help troubleshoot a failed build.
NOTE: This method appends the values to the existing list (if any). Use
setContexts(java.util.Collection)
or withContexts(java.util.Collection)
if you want to override
the existing values.
contexts
- Additional information about a build phase, especially to help troubleshoot a failed build.public BuildPhase withContexts(Collection<PhaseContext> contexts)
Additional information about a build phase, especially to help troubleshoot a failed build.
contexts
- Additional information about a build phase, especially to help troubleshoot a failed build.public String toString()
toString
in class Object
Object.toString()
public BuildPhase clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.