public class Input
extends BasePOJO
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
mValue |
Constructor and Description |
---|
Input() |
Input(ReleaseProjectWFDetailsByStageExecIdROVORowImpl pRelProjWFDetailsRow,
VariableType pVariableType) |
Input(java.lang.String pApplicationName,
ProjectDetails pProjectDetails,
VariableType pVariableType) |
Input(WorkflowRequestCreate pWorkflowRequest,
VariableType pVariableType) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
java.lang.Integer |
getDisplayColumns() |
java.lang.String |
getDisplayName() |
java.lang.Integer |
getDisplayRows() |
java.lang.String |
getDisplayValue()
Method is used to manage the Input Value display on the UI to
handle the Encryption when the value is changed via setDisplayValue()
method.
|
java.lang.String |
getInitialValue() |
java.lang.Boolean |
getIsConstant() |
java.lang.Integer |
getLengthPrecision() |
java.lang.String |
getListData() |
java.lang.Long |
getMaxValue() |
java.lang.Long |
getMinValue() |
java.lang.String |
getName() |
java.lang.String |
getType() |
java.lang.String |
getValidationErrorMessage() |
java.lang.String |
getValidatorScript() |
java.lang.String |
getValue() |
boolean |
isEncrypted() |
boolean |
isInitialValueExpression() |
boolean |
isMultiselect() |
boolean |
isNumberValueValidBasedOnMinMaxRange()
Method validates the Min Max range for the Number data type
input values
|
boolean |
isRequired() |
boolean |
isValueEncrypted() |
boolean |
isValueValidBasedOnRequiredFlag()
Method validates if there is a Valid Value exists when
the isRequired flag is set to true.
|
boolean |
isValueValidBasedOnValidatorScript(ProjectTriggerDefMap pTriggerConfigurations,
java.lang.String pEnvironmentCode,
java.lang.String pWorkflowType) |
boolean |
isValueValidBasedOnValidatorScript(ReleaseProjectWrapper pRelProject,
java.lang.String pEnvironmentCode,
java.util.Map<java.lang.Long,Instance> pEnvironmentInstanceIds) |
boolean |
isValueValidBasedOnValidatorScript(WorkflowRequestCreate pWorkflowRequest) |
void |
setDescription(java.lang.String pDescription) |
void |
setDisplayColumns(java.lang.Integer pDisplayColumns) |
void |
setDisplayName(java.lang.String pDisplayName) |
void |
setDisplayRows(java.lang.Integer pDisplayRows) |
void |
setDisplayValue(java.lang.String pValue)
Method used to Encrypt the pValue when isEncrypted() is set to TRUE and
store it as the Input Value via setValue() method.
|
void |
setEncrypted(boolean pEncrypted) |
void |
setInitialValue(java.lang.String pInitialValue) |
void |
setInitialValueExpression(boolean pInitialValueExpression) |
void |
setIsConstant(java.lang.Boolean pIsConstant) |
void |
setLengthPrecision(java.lang.Integer pLengthPrecision) |
void |
setListData(java.lang.String pListData) |
void |
setMaxValue(java.lang.Long pMaxValue) |
void |
setMinValue(java.lang.Long pMinValue) |
void |
setMultiselect(boolean pMultiselect) |
void |
setName(java.lang.String name) |
void |
setRequired(boolean pRequired) |
void |
setType(java.lang.String pType) |
void |
setUnEncryptedPlainTextValue(java.lang.String pPlainTextValue) |
void |
setValidationErrorMessage(java.lang.String pValidationErrorMessage) |
void |
setValidatorScript(java.lang.String pValidatorScript) |
void |
setValue(java.lang.String pValue) |
void |
setValueEncrypted(boolean valueEncrypted) |
void |
setValueForSubmitWorkflowRequestUI(Input pWorkflowRequestInput)
Method sets the new Value to the Input POJO only when the
pNewValue
Encrypted Flag is same as the Input POJO ValueEncrypted flag. |
void |
setValueFromProjectTriggerWorkflowInput(WorkflowInput pProjectTriggerWFRow) |
void |
setValueFromWorkflowRequestInputDefaultVORow(WorkflowRequestInputDefaultVORowImpl pRow) |
java.lang.String |
toString() |
public Input()
public Input(WorkflowRequestCreate pWorkflowRequest, VariableType pVariableType)
public Input(java.lang.String pApplicationName, ProjectDetails pProjectDetails, VariableType pVariableType)
public Input(ReleaseProjectWFDetailsByStageExecIdROVORowImpl pRelProjWFDetailsRow, VariableType pVariableType)
public void setIsConstant(java.lang.Boolean pIsConstant)
public java.lang.Boolean getIsConstant()
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getValue()
public void setUnEncryptedPlainTextValue(java.lang.String pPlainTextValue)
public void setValue(java.lang.String pValue)
public void setValueFromWorkflowRequestInputDefaultVORow(WorkflowRequestInputDefaultVORowImpl pRow)
public void setValueFromProjectTriggerWorkflowInput(WorkflowInput pProjectTriggerWFRow)
public void setValueForSubmitWorkflowRequestUI(Input pWorkflowRequestInput)
pNewValue
Encrypted Flag is same as the Input POJO ValueEncrypted flag. This method is
invoked from different workflow submission screens particularly when switching
between WF versions after the user entered value for the WF Inputs on the screen.
When the pIsNewValueEncrypted
is different from mValueEncrypted flag,
the Input POJO mValue will not be modified.pNewValue
- pIsNewValueEncrypted
- public java.lang.String getDisplayValue()
public void setDisplayValue(java.lang.String pValue)
pValue
- The value entered from the UIpublic void setType(java.lang.String pType)
public java.lang.String getType()
public void setInitialValue(java.lang.String pInitialValue)
public java.lang.String getInitialValue()
public void setDescription(java.lang.String pDescription)
public java.lang.String getDescription()
public void setDisplayName(java.lang.String pDisplayName)
public java.lang.String getDisplayName()
public void setRequired(boolean pRequired)
public boolean isRequired()
public void setEncrypted(boolean pEncrypted)
public boolean isEncrypted()
public void setInitialValueExpression(boolean pInitialValueExpression)
public boolean isInitialValueExpression()
public void setDisplayRows(java.lang.Integer pDisplayRows)
public java.lang.Integer getDisplayRows()
public void setDisplayColumns(java.lang.Integer pDisplayColumns)
public java.lang.Integer getDisplayColumns()
public void setListData(java.lang.String pListData)
public java.lang.String getListData()
public void setMinValue(java.lang.Long pMinValue)
public java.lang.Long getMinValue()
public void setMaxValue(java.lang.Long pMaxValue)
public java.lang.Long getMaxValue()
public void setLengthPrecision(java.lang.Integer pLengthPrecision)
public java.lang.Integer getLengthPrecision()
public void setValidatorScript(java.lang.String pValidatorScript)
public java.lang.String getValidatorScript()
public boolean isValueValidBasedOnRequiredFlag()
public boolean isNumberValueValidBasedOnMinMaxRange()
public boolean isValueValidBasedOnValidatorScript(WorkflowRequestCreate pWorkflowRequest)
public boolean isValueValidBasedOnValidatorScript(ProjectTriggerDefMap pTriggerConfigurations, java.lang.String pEnvironmentCode, java.lang.String pWorkflowType)
public boolean isValueValidBasedOnValidatorScript(ReleaseProjectWrapper pRelProject, java.lang.String pEnvironmentCode, java.util.Map<java.lang.Long,Instance> pEnvironmentInstanceIds)
public void setValidationErrorMessage(java.lang.String pValidationErrorMessage)
public java.lang.String getValidationErrorMessage()
public void setValueEncrypted(boolean valueEncrypted)
public boolean isValueEncrypted()
public void setMultiselect(boolean pMultiselect)
public boolean isMultiselect()
public java.lang.String toString()