public abstract class PipelineVersionStageStepData extends BasePOJO
Modifier and Type | Field and Description |
---|---|
protected java.io.Serializable |
mStageStepXMLDataPOJO |
Constructor and Description |
---|
PipelineVersionStageStepData() |
PipelineVersionStageStepData(PipelineStageStepRow row,
java.lang.String pXMLData,
java.lang.Long pReleaseManagerRoleId) |
Modifier and Type | Method and Description |
---|---|
void |
addSubStepFromDatabase(PipelineVersionStageStepData pStep) |
protected void |
convertPOJOToXML() |
java.lang.String |
getCronExpression() |
java.lang.String |
getDescription() |
java.lang.String |
getDisplayName() |
java.lang.Long |
getDummyId() |
java.lang.String |
getLargeIcon() |
java.lang.String |
getName() |
java.lang.String |
getNewWeight() |
protected java.lang.String |
getOfStageEnvironmentNameForErrorMessage() |
java.lang.String |
getOldWeight() |
PipelineVersionStageData |
getParent() |
PipelineVersionStageStepData |
getParentStep() |
java.lang.Long |
getParentStepNumber() |
java.lang.Long |
getPipelineRoleId() |
java.lang.Long |
getPipelineStageId() |
java.lang.Long |
getPipelineStageStepId() |
java.lang.String |
getRouteRule() |
java.lang.Long |
getScheduleOverridePipelineRoleId() |
java.lang.String |
getSmallIcon() |
java.lang.String |
getStageStepXMLData() |
abstract java.lang.String |
getStepDescription() |
java.lang.String |
getStepDisplayNumber() |
java.lang.Long |
getStepNumber() |
java.lang.Integer |
getStepSequence() |
abstract java.lang.String |
getStepType() |
java.util.List<PipelineVersionStageStepData> |
getSubSteps() |
java.lang.Integer |
getWaitDurationSeconds() |
java.sql.Timestamp |
getWaitTillDate() |
protected abstract java.lang.Class |
getXMLDataPOJOClass() |
boolean |
isApplyStrategyStep() |
boolean |
isCustomScriptStep() |
boolean |
isDeployAllStep() |
boolean |
isDeployStep() |
boolean |
isDirty() |
boolean |
isExecuteAllStep() |
boolean |
isExecuteAllUtilityStep() |
boolean |
isGroupStepType() |
boolean |
isHasSubSteps() |
boolean |
isManualStep() |
boolean |
isNotificationStep() |
boolean |
isParallelStepByPreviousStep()
Checks if this step is parallel based on the step sequence of the previous step.
|
boolean |
isPipelineRoleInUse(java.lang.Long pPipelineRoleId) |
boolean |
isPreDeployAllStep() |
boolean |
isPreDeployStep() |
boolean |
isProjectGroupInUse(java.lang.String pGroupName) |
protected boolean |
isProjectGroupInUse(java.lang.String pGroupName,
java.util.List<java.lang.String> pIncludeGroups,
java.util.List<java.lang.String> pExcludeGroups) |
boolean |
isScheduledStep() |
boolean |
isTestAllStep() |
boolean |
isTestStep() |
boolean |
isUtilityWorkflowStep() |
boolean |
isValidScripts(java.util.List<PipelineMetadata> pPipelineProperties) |
boolean |
isWaitStep() |
boolean |
isXMLDirty() |
PipelineVersionStageStepData |
removePipelineStageSubStep(java.lang.Long pPipelineStageStepId) |
void |
saveOnViewRow(PipelineStageStepDefaultVORowImpl row) |
void |
setCronExpression(java.lang.String pCronExpression) |
void |
setDescription(java.lang.String pDescription) |
void |
setName(java.lang.String pName) |
void |
setPipelineRoleId(java.lang.Long pPipelineRoleId) |
void |
setPipelineStageStepId(java.lang.Long pPipelineStageStepId) |
void |
setScheduleOverridePipelineRoleId(java.lang.Long pScheduleOverridePipelineRoleId) |
void |
setStepNumber(java.lang.Long pStepNumber) |
void |
setStepSequence(java.lang.Integer pStepSequence) |
void |
setWaitDurationSeconds(java.lang.Integer pWaitDurationSeconds) |
void |
setWaitTillDate(java.sql.Timestamp pWaitTillDate) |
protected void |
synchronizeFlexFields(java.util.List<Flexfield> metadataList,
java.util.List<CodeValueType> existingValues,
java.util.List<StepFlexFieldInput> existingWrapperList) |
protected void |
synchronizeWorkflowInputs(java.util.List<VariableType> metadataList,
java.util.List<NameValueType> existingValues,
java.util.List<StepWorkflowInput> existingWrapperList) |
java.lang.String |
toString()
Returns custom String representation implemented by walking complete object structure.
|
void |
validate(java.util.List<java.lang.String> pErrors,
java.util.List<PipelineMetadata> pPipelineProperties,
java.util.List<java.lang.String> pProjectGroups) |
void |
validateActivation(java.util.List<java.lang.String> pErrors) |
protected void |
validateProjectGroups(java.util.List<java.lang.String> pErrors,
java.util.List<java.lang.String> pPipelineGroups,
java.util.List<java.lang.String> pIncludeGroups,
java.util.List<java.lang.String> pExcludeGroups) |
protected void |
validateScripts(java.util.List<java.lang.String> pErrors,
java.util.List<PipelineMetadata> pPipelineProperties) |
public PipelineVersionStageStepData()
public PipelineVersionStageStepData(PipelineStageStepRow row, java.lang.String pXMLData, java.lang.Long pReleaseManagerRoleId)
public void saveOnViewRow(PipelineStageStepDefaultVORowImpl row)
public java.lang.String toString()
BasePOJO
public java.lang.Long getDummyId()
public java.lang.Long getPipelineStageId()
public java.util.List<PipelineVersionStageStepData> getSubSteps()
public void addSubStepFromDatabase(PipelineVersionStageStepData pStep)
public PipelineVersionStageData getParent()
public PipelineVersionStageStepData getParentStep()
public boolean isDirty()
public void setPipelineStageStepId(java.lang.Long pPipelineStageStepId)
public java.lang.Long getPipelineStageStepId()
public void setName(java.lang.String pName)
public java.lang.String getName()
public java.lang.String getDisplayName()
public void setDescription(java.lang.String pDescription)
public java.lang.String getDescription()
public void setStepNumber(java.lang.Long pStepNumber)
public java.lang.Long getStepNumber()
public void setStepSequence(java.lang.Integer pStepSequence)
public java.lang.Integer getStepSequence()
public java.lang.Long getParentStepNumber()
public boolean isGroupStepType()
public abstract java.lang.String getStepType()
public abstract java.lang.String getStepDescription()
protected abstract java.lang.Class getXMLDataPOJOClass()
protected void convertPOJOToXML()
public void setPipelineRoleId(java.lang.Long pPipelineRoleId)
public java.lang.Long getPipelineRoleId()
public void setCronExpression(java.lang.String pCronExpression)
public java.lang.String getCronExpression()
public void setScheduleOverridePipelineRoleId(java.lang.Long pScheduleOverridePipelineRoleId)
public java.lang.Long getScheduleOverridePipelineRoleId()
public void setWaitDurationSeconds(java.lang.Integer pWaitDurationSeconds)
public java.lang.Integer getWaitDurationSeconds()
public void setWaitTillDate(java.sql.Timestamp pWaitTillDate)
public java.sql.Timestamp getWaitTillDate()
public boolean isXMLDirty()
public java.lang.String getStageStepXMLData()
public java.lang.String getStepDisplayNumber()
public boolean isHasSubSteps()
public java.lang.String getSmallIcon()
public java.lang.String getLargeIcon()
public PipelineVersionStageStepData removePipelineStageSubStep(java.lang.Long pPipelineStageStepId)
public boolean isDeployStep()
public boolean isDeployAllStep()
public boolean isApplyStrategyStep()
public boolean isTestStep()
public boolean isTestAllStep()
public boolean isExecuteAllStep()
public boolean isUtilityWorkflowStep()
public boolean isNotificationStep()
public boolean isWaitStep()
public boolean isManualStep()
public boolean isScheduledStep()
public boolean isExecuteAllUtilityStep()
public boolean isCustomScriptStep()
public boolean isPreDeployStep()
public boolean isPreDeployAllStep()
protected void synchronizeFlexFields(java.util.List<Flexfield> metadataList, java.util.List<CodeValueType> existingValues, java.util.List<StepFlexFieldInput> existingWrapperList)
protected void synchronizeWorkflowInputs(java.util.List<VariableType> metadataList, java.util.List<NameValueType> existingValues, java.util.List<StepWorkflowInput> existingWrapperList)
public boolean isPipelineRoleInUse(java.lang.Long pPipelineRoleId)
public boolean isProjectGroupInUse(java.lang.String pGroupName)
protected boolean isProjectGroupInUse(java.lang.String pGroupName, java.util.List<java.lang.String> pIncludeGroups, java.util.List<java.lang.String> pExcludeGroups)
protected void validateProjectGroups(java.util.List<java.lang.String> pErrors, java.util.List<java.lang.String> pPipelineGroups, java.util.List<java.lang.String> pIncludeGroups, java.util.List<java.lang.String> pExcludeGroups)
public void validate(java.util.List<java.lang.String> pErrors, java.util.List<PipelineMetadata> pPipelineProperties, java.util.List<java.lang.String> pProjectGroups)
protected void validateScripts(java.util.List<java.lang.String> pErrors, java.util.List<PipelineMetadata> pPipelineProperties)
public void validateActivation(java.util.List<java.lang.String> pErrors)
protected java.lang.String getOfStageEnvironmentNameForErrorMessage()
public boolean isValidScripts(java.util.List<PipelineMetadata> pPipelineProperties)
public java.lang.String getOldWeight()
public java.lang.String getNewWeight()
public java.lang.String getRouteRule()
public boolean isParallelStepByPreviousStep()