public class PipelineVersionStageData extends BasePOJO
Constructor and Description |
---|
PipelineVersionStageData() |
PipelineVersionStageData(PipelineStageDefaultVORowImpl row) |
Modifier and Type | Method and Description |
---|---|
void |
addStageGateAfter(java.lang.Long pGateId,
PipelineVersionStageGateData pGate) |
void |
addStageGateAtFirstSequence(PipelineVersionStageGateData pGate) |
void |
addStageGateFromDatabase(PipelineVersionStageGateData pGate) |
void |
addStageGateLast(PipelineVersionStageGateData pGate) |
void |
addStageStepAfterSequence(PipelineVersionStageStepData pStep,
java.lang.Long pParentStageStepId,
java.lang.Integer pSequence) |
void |
addStageStepAtSequence(PipelineVersionStageStepData pStep,
java.lang.Long pParentStageStepId,
java.lang.Integer pSequence) |
void |
addStageStepFromDatabase(PipelineVersionStageStepData pStep) |
void |
addStageStepLast(PipelineVersionStageStepData pStep,
boolean pParallelStep,
PipelineVersionStageStepData pParentStep) |
java.lang.String |
getDescription() |
java.lang.Long |
getDummyId() |
java.lang.Long |
getEnvironmentId() |
java.lang.String |
getEnvironmentName() |
PipelineVersionStageGateData |
getGateByGateId(java.lang.Long pGateId) |
java.lang.Integer |
getGateCount() |
java.lang.Integer |
getLastStepSequence() |
PipelineVersionData |
getParent() |
java.lang.Long |
getPipelineStageId() |
java.lang.Long |
getPipelineVersionId() |
java.lang.Integer |
getSequenceNumber() |
java.util.List<PipelineVersionStageGateData> |
getStageGates() |
java.util.List<PipelineVersionStageStepData> |
getStageSteps() |
PipelineVersionStageStepData |
getStepById(java.lang.Long pStepId) |
PipelineVersionStageStepData |
getStepByStepId(java.lang.Long pStepId) |
PipelineVersionStageStepData |
getStepByStepNumber(java.lang.Long pStepNumber) |
java.util.List<PipelineStepsBySequence> |
getStepsBySequence() |
boolean |
isDirty() |
boolean |
isDirtyComponents() |
boolean |
isMoveLeftAllowed() |
boolean |
isMoveRightAllowed() |
void |
moveLeft() |
void |
moveRight() |
PipelineVersionStageGateData |
removePipelineStageGate(java.lang.Long pPipelineStageGateId) |
PipelineVersionStageGateData |
removePipelineStageGate(java.lang.Long pPipelineStageGateId,
boolean resetSequences) |
PipelineVersionStageStepData |
removePipelineStageStep(java.lang.Long pPipelineStageStepId) |
void |
resetStageStepsSequenceNumber()
Reset steps Sequences starting from 1.
|
void |
saveOnViewRow(PipelineStageDefaultVORowImpl row) |
void |
setDescription(java.lang.String pDescription) |
void |
setEnvironmentName(java.lang.String pEnvironmentName) |
void |
setSequenceNumber(java.lang.Integer pSequenceNumber) |
void |
sortGatesBySequenceNumber() |
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) |
void |
validatePipelineRoleInUse(java.util.List<java.lang.String> pUsedBy,
java.lang.Long pPipelineRoleId) |
public PipelineVersionStageData()
public PipelineVersionStageData(PipelineStageDefaultVORowImpl row)
public void saveOnViewRow(PipelineStageDefaultVORowImpl row)
public java.lang.String toString()
BasePOJO
public java.lang.Long getDummyId()
public void setDescription(java.lang.String pDescription)
public java.lang.String getDescription()
public java.lang.Long getPipelineVersionId()
public PipelineVersionData getParent()
public boolean isDirty()
public boolean isDirtyComponents()
public java.lang.Long getPipelineStageId()
public java.lang.Long getEnvironmentId()
public java.lang.String getEnvironmentName()
public void setEnvironmentName(java.lang.String pEnvironmentName)
public void setSequenceNumber(java.lang.Integer pSequenceNumber)
public java.lang.Integer getSequenceNumber()
public void moveLeft()
public void moveRight()
public boolean isMoveLeftAllowed()
public boolean isMoveRightAllowed()
public java.util.List<PipelineVersionStageGateData> getStageGates()
public void addStageGateFromDatabase(PipelineVersionStageGateData pGate)
public void sortGatesBySequenceNumber()
public java.lang.Integer getGateCount()
public java.lang.Integer getLastStepSequence()
public java.util.List<PipelineVersionStageStepData> getStageSteps()
public void addStageStepFromDatabase(PipelineVersionStageStepData pStep)
public PipelineVersionStageStepData getStepByStepNumber(java.lang.Long pStepNumber)
public void addStageGateAtFirstSequence(PipelineVersionStageGateData pGate)
public void addStageGateLast(PipelineVersionStageGateData pGate)
public void addStageGateAfter(java.lang.Long pGateId, PipelineVersionStageGateData pGate)
public PipelineVersionStageGateData removePipelineStageGate(java.lang.Long pPipelineStageGateId)
public PipelineVersionStageGateData removePipelineStageGate(java.lang.Long pPipelineStageGateId, boolean resetSequences)
public void resetStageStepsSequenceNumber()
public void addStageStepAfterSequence(PipelineVersionStageStepData pStep, java.lang.Long pParentStageStepId, java.lang.Integer pSequence)
public void addStageStepLast(PipelineVersionStageStepData pStep, boolean pParallelStep, PipelineVersionStageStepData pParentStep) throws FlexCheckedException
FlexCheckedException
public void addStageStepAtSequence(PipelineVersionStageStepData pStep, java.lang.Long pParentStageStepId, java.lang.Integer pSequence)
public PipelineVersionStageStepData getStepByStepId(java.lang.Long pStepId)
public PipelineVersionStageGateData getGateByGateId(java.lang.Long pGateId)
public PipelineVersionStageStepData getStepById(java.lang.Long pStepId)
public PipelineVersionStageStepData removePipelineStageStep(java.lang.Long pPipelineStageStepId)
public java.util.List<PipelineStepsBySequence> getStepsBySequence()
public void validate(java.util.List<java.lang.String> pErrors, java.util.List<PipelineMetadata> pPipelineProperties, java.util.List<java.lang.String> pProjectGroups)
public void validateActivation(java.util.List<java.lang.String> pErrors)
public void validatePipelineRoleInUse(java.util.List<java.lang.String> pUsedBy, java.lang.Long pPipelineRoleId)