public class BuildPhase extends Object implements Serializable, Cloneable
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 build's phase starting and ending times.
|
Date |
getEndTime()
When the build phase ended, expressed in Unix time format.
|
String |
getPhaseStatus()
The build phase's current status.
|
String |
getPhaseType()
The build phase's name.
|
Date |
getStartTime()
When the build phase started, expressed in Unix time format.
|
int |
hashCode() |
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 build's phase starting and ending times.
|
void |
setEndTime(Date endTime)
When the build phase ended, expressed in Unix time format.
|
void |
setPhaseStatus(StatusType phaseStatus)
The build phase's current status.
|
void |
setPhaseStatus(String phaseStatus)
The build phase's current status.
|
void |
setPhaseType(BuildPhaseType phaseType)
The build phase's name.
|
void |
setPhaseType(String phaseType)
The build phase's name.
|
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 build's phase starting and ending times.
|
BuildPhase |
withEndTime(Date endTime)
When the build phase ended, expressed in Unix time format.
|
BuildPhase |
withPhaseStatus(StatusType phaseStatus)
The build phase's current status.
|
BuildPhase |
withPhaseStatus(String phaseStatus)
The build phase's current status.
|
BuildPhase |
withPhaseType(BuildPhaseType phaseType)
The build phase's name.
|
BuildPhase |
withPhaseType(String phaseType)
The build phase's name.
|
BuildPhase |
withStartTime(Date startTime)
When the build phase started, expressed in Unix time format.
|
public void setPhaseType(String phaseType)
The build phase's name. Valid values include:
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has 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 output location.
phaseType
- The build phase's name. Valid values include:
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has 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 output location.
BuildPhaseType
public String getPhaseType()
The build phase's name. Valid values include:
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has 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 output location.
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has 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 output location.
BuildPhaseType
public BuildPhase withPhaseType(String phaseType)
The build phase's name. Valid values include:
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has 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 output location.
phaseType
- The build phase's name. Valid values include:
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has 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 output location.
BuildPhaseType
public void setPhaseType(BuildPhaseType phaseType)
The build phase's name. Valid values include:
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has 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 output location.
phaseType
- The build phase's name. Valid values include:
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has 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 output location.
BuildPhaseType
public BuildPhase withPhaseType(BuildPhaseType phaseType)
The build phase's name. Valid values include:
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has 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 output location.
phaseType
- The build phase's name. Valid values include:
BUILD
: Core build activities typically occur in this build phase.
COMPLETED
: The build has 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 output location.
BuildPhaseType
public void setPhaseStatus(String phaseStatus)
The build phase's current status. 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 build phase's current status. 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 build phase's current status. 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 build phase's current status. 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 build phase's current status. 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 build phase's current status. 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 build phase's current status. 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 build phase's current status. 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 build phase's current status. 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 build's phase starting and ending times.
durationInSeconds
- How long, in seconds, between the build's phase starting and ending times.public Long getDurationInSeconds()
How long, in seconds, between the build's phase starting and ending times.
public BuildPhase withDurationInSeconds(Long durationInSeconds)
How long, in seconds, between the build's phase starting and ending times.
durationInSeconds
- How long, in seconds, between the build's phase starting and ending times.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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.