@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.
|
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:
Core build activities typically occur in this build phase.
The build has been completed.
Source code is being downloaded in this build phase.
The build process is completing in this build phase.
Installation activities typically occur in this build phase.
Post-build activities typically occur in this build phase.
Pre-build activities typically occur in this build phase.
The build environment is being set up.
The build has been submitted and is queued behind other submitted builds.
The build has been submitted.
Build output artifacts are being uploaded to the output location.
phaseType
- The name of the build phase. Valid values include:
Core build activities typically occur in this build phase.
The build has been completed.
Source code is being downloaded in this build phase.
The build process is completing in this build phase.
Installation activities typically occur in this build phase.
Post-build activities typically occur in this build phase.
Pre-build activities typically occur in this build phase.
The build environment is being set up.
The build has been submitted and is queued behind other submitted builds.
The build has been submitted.
Build output artifacts are being uploaded to the output location.
BuildPhaseType
public String getPhaseType()
The name of the build phase. Valid values include:
Core build activities typically occur in this build phase.
The build has been completed.
Source code is being downloaded in this build phase.
The build process is completing in this build phase.
Installation activities typically occur in this build phase.
Post-build activities typically occur in this build phase.
Pre-build activities typically occur in this build phase.
The build environment is being set up.
The build has been submitted and is queued behind other submitted builds.
The build has been submitted.
Build output artifacts are being uploaded to the output location.
Core build activities typically occur in this build phase.
The build has been completed.
Source code is being downloaded in this build phase.
The build process is completing in this build phase.
Installation activities typically occur in this build phase.
Post-build activities typically occur in this build phase.
Pre-build activities typically occur in this build phase.
The build environment is being set up.
The build has been submitted and is queued behind other submitted builds.
The build has been submitted.
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:
Core build activities typically occur in this build phase.
The build has been completed.
Source code is being downloaded in this build phase.
The build process is completing in this build phase.
Installation activities typically occur in this build phase.
Post-build activities typically occur in this build phase.
Pre-build activities typically occur in this build phase.
The build environment is being set up.
The build has been submitted and is queued behind other submitted builds.
The build has been submitted.
Build output artifacts are being uploaded to the output location.
phaseType
- The name of the build phase. Valid values include:
Core build activities typically occur in this build phase.
The build has been completed.
Source code is being downloaded in this build phase.
The build process is completing in this build phase.
Installation activities typically occur in this build phase.
Post-build activities typically occur in this build phase.
Pre-build activities typically occur in this build phase.
The build environment is being set up.
The build has been submitted and is queued behind other submitted builds.
The build has been submitted.
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:
Core build activities typically occur in this build phase.
The build has been completed.
Source code is being downloaded in this build phase.
The build process is completing in this build phase.
Installation activities typically occur in this build phase.
Post-build activities typically occur in this build phase.
Pre-build activities typically occur in this build phase.
The build environment is being set up.
The build has been submitted and is queued behind other submitted builds.
The build has been submitted.
Build output artifacts are being uploaded to the output location.
phaseType
- The name of the build phase. Valid values include:
Core build activities typically occur in this build phase.
The build has been completed.
Source code is being downloaded in this build phase.
The build process is completing in this build phase.
Installation activities typically occur in this build phase.
Post-build activities typically occur in this build phase.
Pre-build activities typically occur in this build phase.
The build environment is being set up.
The build has been submitted and is queued behind other submitted builds.
The build has been submitted.
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:
Core build activities typically occur in this build phase.
The build has been completed.
Source code is being downloaded in this build phase.
The build process is completing in this build phase.
Installation activities typically occur in this build phase.
Post-build activities typically occur in this build phase.
Pre-build activities typically occur in this build phase.
The build environment is being set up.
The build has been submitted and is queued behind other submitted builds.
The build has been submitted.
Build output artifacts are being uploaded to the output location.
phaseType
- The name of the build phase. Valid values include:
Core build activities typically occur in this build phase.
The build has been completed.
Source code is being downloaded in this build phase.
The build process is completing in this build phase.
Installation activities typically occur in this build phase.
Post-build activities typically occur in this build phase.
Pre-build activities typically occur in this build phase.
The build environment is being set up.
The build has been submitted and is queued behind other submitted builds.
The build has been submitted.
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:
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
The build phase timed out.
phaseStatus
- The current status of the build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
The build phase timed out.
StatusType
public String getPhaseStatus()
The current status of the build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
The build phase timed out.
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
The build phase timed out.
StatusType
public BuildPhase withPhaseStatus(String phaseStatus)
The current status of the build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
The build phase timed out.
phaseStatus
- The current status of the build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
The build phase timed out.
StatusType
public void setPhaseStatus(StatusType phaseStatus)
The current status of the build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
The build phase timed out.
phaseStatus
- The current status of the build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
The build phase timed out.
StatusType
public BuildPhase withPhaseStatus(StatusType phaseStatus)
The current status of the build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
The build phase timed out.
phaseStatus
- The current status of the build phase. Valid values include:
The build phase failed.
The build phase faulted.
The build phase is still in progress.
The build phase stopped.
The build phase succeeded.
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.