public class ProjectStageExecutionImpl
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.Integer |
mDeployPriority |
protected java.lang.String |
mFolderPath |
protected java.util.List<Instance> |
mInstances |
protected boolean |
mIsPartialDeploy |
protected java.lang.String |
mPackageName |
protected java.util.List<java.lang.String> |
mProjectGroupNames |
protected java.lang.Long |
mProjectId |
protected java.lang.String |
mProjectName |
protected java.lang.Long |
mProjectStreamId |
protected java.lang.String |
mProjectStreamName |
protected java.lang.String |
mProjectType |
protected java.lang.Long |
mProjectVersionId |
protected java.lang.String |
mProjectVersionName |
protected java.lang.String |
mRequestAllFiles |
protected RequestStatusEnum |
mRequestStatus |
protected WorkflowRequestSubmitStatus |
mSubmitStatus |
protected boolean |
mWasForced |
protected java.lang.Long |
mWorkflowId |
protected java.lang.String |
mWorkflowName |
protected java.lang.String |
mWorkflowType |
Constructor and Description |
---|
ProjectStageExecutionImpl() |
ProjectStageExecutionImpl(ReleaseProjectVersion pReleaseProjectVersion,
ProjectStageExecutionImpl executionData)
Instantiates a new ProjectStageExecutionImpl instance.
|
Modifier and Type | Method and Description |
---|---|
ProjectWorkflowExecutionData |
findProjectWorkflowExecutionData(java.lang.Long pWorkflowExecutionId)
returns a ProjectWorkflowExecutionData object for the given workflowExecutionId.
|
ProjectWorkflowExecutionData |
getBuildWorkflowExecutionData()
Gets the builds the workflow execution data.
|
java.lang.Integer |
getDeployPriority()
returns the Integer deploy priority for the current release project.
|
java.lang.String |
getFolderPath()
Returns folder path where project is configured on project explorer.
|
java.util.List<Instance> |
getInstances()
Returns deploy or utility target groups configured on project.
|
java.lang.String |
getPackageName()
returns the String package name for the current release project.
|
java.util.List<java.lang.String> |
getProjectGroupNames()
returns a list of project group names for the current release project.
|
java.lang.Long |
getProjectId()
returns the Long project Id for the current release project.
|
java.lang.String |
getProjectName()
returns the String project name for the current project.
|
java.lang.Long |
getProjectStreamId()
returns the Long project stream Id for the current release project.
|
java.lang.String |
getProjectStreamName()
returns the String project stream name for the current release project.
|
java.lang.String |
getProjectType()
returns a ProjectType as String for the current release project.
Possible Values: GENERAL, EBS, PARTIAL_FILE, PARTIAL_JDBC, OracleForms, ORACLE_DB, ORACLE_BI, ORACLE_APEX, MFT, SALESFORCE, UTILITY, MDS, SAP, and GENERIC returns the Long project version id for the current release project. |
java.lang.Long |
getProjectVersionId()
Gets the project version id.
|
java.lang.String |
getProjectVersionName()
returns the String project version name for the current release project.
|
java.lang.String |
getRequestAllFiles()
returns the String request all files for the current release project.
|
java.lang.String |
getRequestStatus()
returns the String request status for the current project.
|
RequestStatusEnum |
getRequestStatusEnum()
returns a RequestStatusEnum object for the current project.
Possible Values: INITIATED("Initiated"), PENDING_APPROVAL("Pending Approval"), SCHEDULED("Scheduled"), REJECTED("Rejected"), READY("Ready"), SUBMITTED("Submitted"), COMPLETED("Completed"), ABORTED("Aborted"), and FAILED("Failed"); |
WorkflowRequestSubmitStatus |
getSubmitStatus()
returns a WorkflowRequestSubmitStatus object for the current project.
Possible Values: SUBMITFAILED, SUBMITTED, SKIPPED, PENDING |
boolean |
getWasForced()
returns the boolean wasForced flag for the current project.
|
java.util.Map<java.lang.String,ProjectWorkflowExecutionData> |
getWorkflowExecutionData()
returns a map of output values for the given workflow execution name.
|
java.lang.Long |
getWorkflowId()
Returns deploy or utility workflow id configured on project.
|
java.lang.String |
getWorkflowName()
Returns deploy or utility workflow name configured on project.
|
java.lang.String |
getWorkflowType()
returns the String workflow type for the current project.
|
boolean |
isDeployed()
returns the boolean isDeployed flag for the current project.
|
boolean |
isDeployWorkflow()
returns the boolean isDeployWorkflow flag depending on if the workflow type is a deploy
workflow for the current project.
|
boolean |
isFailed()
returns the boolean isFailed flag depending on if the workflow is a deploy workflow and the
submission or request to deploy has failed or not.
|
boolean |
isNotAttempted()
returns the boolean isNotAttempted flag depending on if the request status and submission
status is null.
|
boolean |
IsPartialDeploy()
returns the boolean isPartialDeploy flag for the current project.
|
boolean |
isRequestAborted()
returns the boolean isRequestAborted flag depending on if the requestStatus is equal to
RequestStatusEnum.ABORTED.
|
boolean |
isRequestFailed()
returns the boolean isRequestFailed flag depending on if the requestStatus is equal to
RequestStatusEnum.ABORTED or RequestStatusEnum.FAILED.
|
boolean |
isRequestOrSubmitFailed()
returns the boolean isRequestOrSubmitFailed flag depending on the result of isSubmitFailed() OR
isRequestFailed().
|
boolean |
isRequestSuccess()
returns the boolean isRequestAborted flag depending on if the requestStatus is equal to
RequestStatusEnum.COMPLETED
|
boolean |
isSkipped()
returns the boolean isSkipped flag depending on the result of isDeployWorkflow() AND
isSubmitSkipped().
|
boolean |
isSubmitFailed()
returns the boolean isSubmitFailed flag depending on if the submitStatus is equal to
WorkflowRequestSubmitStatus.SUBMITFAILED
|
boolean |
isSubmitSkipped()
returns the boolean isSubmitSkipped flag depending on if the submitStatus is equal to
WorkflowRequestSubmitStatus.SKIPPED
|
boolean |
isTestWorkflow()
returns the boolean isTestWorkflow flag depending on if the project workflow type is "TEST".
|
boolean |
isUtilityWorkflow()
returns the boolean isUtilityWorkflow flag depending on if the project workflow type is
"UTILITY".
|
void |
setBuildWorkflowExecutionData(ProjectWorkflowExecutionData pBuildWorkflowExecutionData)
Sets the builds the workflow execution data.
|
void |
setDeployPriority(java.lang.Integer pDeployPriority)
Sets the deploy priority.
|
void |
setFolderPath(java.lang.String pFolderPath)
Sets the folder path.
|
void |
setInstances(java.util.List<Instance> pInstances)
Sets the instances.
|
void |
setIsPartialDeploy(boolean pIsPartialDeploy)
Sets the checks if is partial deploy.
|
void |
setPackageName(java.lang.String pPackageName)
Sets the package name.
|
void |
setProjectGroupNames(java.util.List<java.lang.String> pGroupNames)
Sets the project group names.
|
void |
setProjectGroupNamesString(java.lang.String pGroupNamesString)
Sets the project group names string.
|
void |
setProjectId(java.lang.Long pProjectId)
Sets the project id.
|
void |
setProjectName(java.lang.String pProjectName)
Sets the project name.
|
void |
setProjectStreamId(java.lang.Long pProjectStreamId)
Sets the project stream id.
|
void |
setProjectStreamName(java.lang.String pProjectStreamName)
Sets the project stream name.
|
void |
setProjectType(java.lang.String pProjectType)
Sets the project type.
|
void |
setProjectVersionId(java.lang.Long pProjectVersionId)
Sets the project version id.
|
void |
setProjectVersionName(java.lang.String pProjectVersionName)
Sets the project version name.
|
void |
setRequestAllFiles(java.lang.String pRequestAllFiles)
Sets the request all files.
|
void |
setRequestStatus(RequestStatusEnum pRequestStatus)
Sets the request status.
|
void |
setSubmitStatus(WorkflowRequestSubmitStatus pSubmitStatus)
Sets the submit status.
|
void |
setWasForced(boolean pWasForced)
Sets the was forced.
|
void |
setWasForced(java.lang.String pWasForced)
Sets the was forced.
|
void |
setWorkflowId(java.lang.Long pWorkflowId)
Sets the workflow id.
|
void |
setWorkflowName(java.lang.String pWorkflowName)
Sets the workflow name.
|
void |
setWorkflowType(java.lang.String pWorkflowType)
Sets the workflow type.
|
java.lang.String |
toString()
Returns the non secured class variables as comma seperated for logging purpose.
|
protected java.lang.Long mProjectId
protected java.lang.String mProjectName
protected boolean mIsPartialDeploy
protected java.lang.String mProjectType
protected java.util.List<java.lang.String> mProjectGroupNames
protected java.lang.Long mProjectVersionId
protected java.lang.String mPackageName
protected java.lang.String mProjectVersionName
protected java.lang.Long mProjectStreamId
protected java.lang.String mProjectStreamName
protected java.lang.Integer mDeployPriority
protected java.lang.String mFolderPath
protected java.lang.String mRequestAllFiles
protected java.lang.Long mWorkflowId
protected java.lang.String mWorkflowName
protected java.util.List<Instance> mInstances
protected RequestStatusEnum mRequestStatus
protected WorkflowRequestSubmitStatus mSubmitStatus
protected boolean mWasForced
protected java.lang.String mWorkflowType
public ProjectStageExecutionImpl()
public ProjectStageExecutionImpl(ReleaseProjectVersion pReleaseProjectVersion, ProjectStageExecutionImpl executionData)
pReleaseProjectVersion
- the release project versionexecutionData
- the execution datapublic java.lang.String toString()
toString
in class java.lang.Object
public void setRequestStatus(RequestStatusEnum pRequestStatus)
pRequestStatus
- the new request statuspublic void setSubmitStatus(WorkflowRequestSubmitStatus pSubmitStatus)
pSubmitStatus
- the new submit statuspublic void setWasForced(boolean pWasForced)
pWasForced
- the new was forcedpublic void setWasForced(java.lang.String pWasForced)
pWasForced
- the new was forcedpublic void setProjectId(java.lang.Long pProjectId)
pProjectId
- the new project idpublic void setProjectVersionName(java.lang.String pProjectVersionName)
pProjectVersionName
- the new project version namepublic void setProjectGroupNamesString(java.lang.String pGroupNamesString)
pGroupNamesString
- the new project group names stringpublic void setProjectGroupNames(java.util.List<java.lang.String> pGroupNames)
pGroupNames
- the new project group namespublic void setProjectStreamId(java.lang.Long pProjectStreamId)
pProjectStreamId
- the new project stream idpublic void setProjectStreamName(java.lang.String pProjectStreamName)
pProjectStreamName
- the new project stream namepublic void setIsPartialDeploy(boolean pIsPartialDeploy)
pIsPartialDeploy
- the new checks if is partial deploypublic RequestStatusEnum getRequestStatusEnum()
public WorkflowRequestSubmitStatus getSubmitStatus()
public boolean getWasForced()
public java.lang.Long getProjectId()
public java.lang.String getProjectVersionName()
public java.util.List<java.lang.String> getProjectGroupNames()
public java.lang.Long getProjectStreamId()
public void setPackageName(java.lang.String pPackageName)
pPackageName
- the new package namepublic java.lang.String getPackageName()
public java.lang.String getProjectStreamName()
public boolean IsPartialDeploy()
public void setProjectName(java.lang.String pProjectName)
pProjectName
- the new project namepublic java.lang.String getProjectName()
public void setProjectType(java.lang.String pProjectType)
pProjectType
- the new project typepublic void setWorkflowType(java.lang.String pWorkflowType)
pWorkflowType
- the new workflow typepublic java.lang.String getWorkflowType()
public java.lang.String getRequestStatus()
public java.lang.String getProjectType()
public void setProjectVersionId(java.lang.Long pProjectVersionId)
pProjectVersionId
- the new project version idpublic java.lang.Long getProjectVersionId()
public boolean isUtilityWorkflow()
public boolean isDeployWorkflow()
public boolean isTestWorkflow()
public boolean isRequestFailed()
public boolean isRequestOrSubmitFailed()
public boolean isRequestAborted()
public java.util.Map<java.lang.String,ProjectWorkflowExecutionData> getWorkflowExecutionData()
public boolean isSubmitSkipped()
public boolean isSubmitFailed()
public boolean isRequestSuccess()
public ProjectWorkflowExecutionData findProjectWorkflowExecutionData(java.lang.Long pWorkflowExecutionId)
pWorkflowExecutionId
- the workflow execution idpublic boolean isNotAttempted()
public boolean isSkipped()
public boolean isDeployed()
public boolean isFailed()
public void setDeployPriority(java.lang.Integer pDeployPriority)
pDeployPriority
- the new deploy prioritypublic java.lang.Integer getDeployPriority()
public void setFolderPath(java.lang.String pFolderPath)
pFolderPath
- the new folder pathpublic java.lang.String getFolderPath()
public void setRequestAllFiles(java.lang.String pRequestAllFiles)
pRequestAllFiles
- the new request all filespublic java.lang.String getRequestAllFiles()
public void setWorkflowId(java.lang.Long pWorkflowId)
pWorkflowId
- the new workflow idpublic java.lang.Long getWorkflowId()
public void setWorkflowName(java.lang.String pWorkflowName)
pWorkflowName
- the new workflow namepublic java.lang.String getWorkflowName()
public void setInstances(java.util.List<Instance> pInstances)
pInstances
- the new instancespublic java.util.List<Instance> getInstances()
public void setBuildWorkflowExecutionData(ProjectWorkflowExecutionData pBuildWorkflowExecutionData)
pBuildWorkflowExecutionData
- the new builds the workflow execution datapublic ProjectWorkflowExecutionData getBuildWorkflowExecutionData()