public abstract class BasePluginExecutionContext
extends java.lang.Object
Constructor and Description |
---|
BasePluginExecutionContext() |
BasePluginExecutionContext(WorkflowExecutionContext pWorkFlowExecutionContext) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getArtifactsDirectory() |
java.lang.Boolean |
getBooleanCurrentInstancePropertyValue(java.lang.String pKey) |
java.lang.Boolean |
getBooleanCurrentInstancePropertyValueOrDefault(java.lang.String pKey,
java.lang.Boolean pDefault) |
java.lang.Boolean |
getBooleanInput(java.lang.String pInputName)
inputs are always expected to be filled in, so default anyway here.
|
java.lang.Boolean |
getBooleanInputOrDefault(java.lang.String pInputName,
java.lang.Boolean pDefault)
if input not provided, which most likely won't happen then use default.
|
java.lang.Boolean |
getBooleanInstancePropertyValue(java.lang.String pInstanceCode,
java.lang.String pKey) |
java.lang.Boolean |
getBooleanInstancePropertyValueOrDefault(java.lang.String pInstanceCode,
java.lang.String pKey,
java.lang.Boolean pDefault) |
java.lang.Boolean |
getBooleanProjectPropertyValue(java.lang.String pKey) |
java.lang.Boolean |
getBooleanProjectPropertyValueOrDefault(java.lang.String pKey,
java.lang.Boolean pDefault) |
java.lang.String |
getCurrentInstance() |
java.lang.Object |
getCurrentInstancePropertyValue(java.lang.String pKey)
current instance property value
|
java.lang.Object |
getCurrentInstancePropertyValueOrDefault(java.lang.String pKey,
java.lang.Object pDefault)
current instance property value or default if null
|
java.lang.Double |
getDoubleCurrentInstancePropertyValue(java.lang.String pKey) |
java.lang.Double |
getDoubleCurrentInstancePropertyValueOrDefault(java.lang.String pKey,
java.lang.Double pDefault) |
java.lang.Double |
getDoubleInput(java.lang.String pInputName) |
java.lang.Double |
getDoubleInputOrDefault(java.lang.String pInputName,
java.lang.Double pDefault) |
java.lang.Double |
getDoubleInstancePropertyValue(java.lang.String pInstanceCode,
java.lang.String pKey) |
java.lang.Double |
getDoubleInstancePropertyValueOrDefault(java.lang.String pInstanceCode,
java.lang.String pKey,
java.lang.Double pDefault) |
java.lang.Double |
getDoubleProjectPropertyValue(java.lang.String pKey) |
java.lang.Double |
getDoubleProjectPropertyValueOrDefault(java.lang.String pKey,
java.lang.Double pDefault) |
java.lang.Object |
getInstancePropertyValue(java.lang.String pInstanceCode,
java.lang.String pKey)
instance property value
|
java.lang.Object |
getInstancePropertyValueOrDefault(java.lang.String pInstanceCode,
java.lang.String pKey,
java.lang.Object pDefault)
instance property value or default if null
|
java.lang.Integer |
getIntegerCurrentInstancePropertyValue(java.lang.String pKey) |
java.lang.Integer |
getIntegerCurrentInstancePropertyValueOrDefault(java.lang.String pKey,
java.lang.Integer pDefault) |
java.lang.Integer |
getIntegerInput(java.lang.String pInputName) |
java.lang.Integer |
getIntegerInputOrDefault(java.lang.String pInputName,
java.lang.Integer pDefault) |
java.lang.Integer |
getIntegerInstancePropertyValue(java.lang.String pInstanceCode,
java.lang.String pKey) |
java.lang.Integer |
getIntegerInstancePropertyValueOrDefault(java.lang.String pInstanceCode,
java.lang.String pKey,
java.lang.Integer pDefault) |
java.lang.Integer |
getIntegerProjectPropertyValue(java.lang.String pKey) |
java.lang.Integer |
getIntegerProjectPropertyValueOrDefault(java.lang.String pKey,
java.lang.Integer pDefault) |
java.lang.String |
getInternalDirectory() |
java.lang.Long |
getLongCurrentInstancePropertyValue(java.lang.String pKey) |
java.lang.Long |
getLongCurrentInstancePropertyValueOrDefault(java.lang.String pKey,
java.lang.Long pDefault) |
java.lang.Long |
getLongInput(java.lang.String pInputName) |
java.lang.Long |
getLongInputOrDefault(java.lang.String pInputName,
java.lang.Long pDefault) |
java.lang.Long |
getLongInstancePropertyValue(java.lang.String pInstanceCode,
java.lang.String pKey) |
java.lang.Long |
getLongInstancePropertyValueOrDefault(java.lang.String pInstanceCode,
java.lang.String pKey,
java.lang.Long pDefault) |
java.lang.Long |
getLongProjectPropertyValue(java.lang.String pKey) |
java.lang.Long |
getLongProjectPropertyValueOrDefault(java.lang.String pKey,
java.lang.Long pDefault) |
java.lang.Object |
getProjectPropertyValue(java.lang.String pKey)
project or project version property value.
|
java.lang.Object |
getProjectPropertyValueOrDefault(java.lang.String pKey,
java.lang.Object pDefault)
project or project version property value or default if null
|
java.lang.String |
getReportsDirectory() |
java.lang.String |
getStringCurrentInstancePropertyValue(java.lang.String pKey) |
java.lang.String |
getStringCurrentInstancePropertyValueOrDefault(java.lang.String pKey,
java.lang.String pDefault) |
java.lang.String |
getStringInput(java.lang.String pInputName) |
java.lang.String |
getStringInputOrDefault(java.lang.String pInputName,
java.lang.String pDefault) |
java.lang.String |
getStringInstancePropertyValue(java.lang.String pInstanceCode,
java.lang.String pKey) |
java.lang.String |
getStringInstancePropertyValueOrDefault(java.lang.String pInstanceCode,
java.lang.String pKey,
java.lang.String pDefault) |
java.lang.String |
getStringProjectPropertyValue(java.lang.String pKey) |
java.lang.String |
getStringProjectPropertyValueOrDefault(java.lang.String pKey,
java.lang.String pDefault) |
java.lang.String |
getTempDirectory() |
java.lang.String |
getTestResultsDirectory() |
java.lang.String |
getTransferDirectory() |
WorkflowExecutionContext |
getWorkflowExecutionContext() |
long |
getWorkflowExecutionId() |
java.lang.String |
getWorkingDirectory() |
boolean |
isForceDeploy() |
void |
setOutputs(java.lang.String pName,
java.lang.Object pValue,
PropertyValue.PropertyTypeEnum pDataType) |
void |
validateContext(java.util.List<java.lang.String> pRequiredProperties,
java.util.List<java.lang.String> pRequiredInputs) |
void |
validateContext(java.util.List<java.lang.String> pRequiredProperties,
java.util.List<java.lang.String> pRequiredInputs,
java.lang.String pValidateInstance) |
void |
validateRequiredInputs(java.util.List<java.lang.String> pRequiredInputs) |
void |
validateRequiredPropertiesForCurrentInstance(java.util.List<java.lang.String> pRequiredProperties) |
void |
validateRequiredPropertiesForInstance(java.util.List<java.lang.String> pRequiredProperties,
java.lang.String pValidateInstance) |
public BasePluginExecutionContext()
public BasePluginExecutionContext(WorkflowExecutionContext pWorkFlowExecutionContext)
public void validateContext(java.util.List<java.lang.String> pRequiredProperties, java.util.List<java.lang.String> pRequiredInputs) throws FlexCheckedException
FlexCheckedException
public void validateContext(java.util.List<java.lang.String> pRequiredProperties, java.util.List<java.lang.String> pRequiredInputs, java.lang.String pValidateInstance) throws FlexCheckedException
FlexCheckedException
public void validateRequiredInputs(java.util.List<java.lang.String> pRequiredInputs) throws FlexCheckedException
FlexCheckedException
public void validateRequiredPropertiesForInstance(java.util.List<java.lang.String> pRequiredProperties, java.lang.String pValidateInstance) throws FlexCheckedException
FlexCheckedException
public void validateRequiredPropertiesForCurrentInstance(java.util.List<java.lang.String> pRequiredProperties) throws FlexCheckedException
FlexCheckedException
public java.lang.String getCurrentInstance()
public WorkflowExecutionContext getWorkflowExecutionContext()
public java.lang.String getWorkingDirectory()
public java.lang.String getArtifactsDirectory()
public java.lang.String getTempDirectory()
public java.lang.String getTestResultsDirectory()
public java.lang.String getInternalDirectory()
public java.lang.String getReportsDirectory()
public java.lang.String getTransferDirectory()
public long getWorkflowExecutionId()
public boolean isForceDeploy()
public void setOutputs(java.lang.String pName, java.lang.Object pValue, PropertyValue.PropertyTypeEnum pDataType)
public java.lang.Boolean getBooleanInput(java.lang.String pInputName)
pInputName
- public java.lang.Boolean getBooleanInputOrDefault(java.lang.String pInputName, java.lang.Boolean pDefault)
pInputName
- pDefault
- public java.lang.Double getDoubleInput(java.lang.String pInputName)
public java.lang.Double getDoubleInputOrDefault(java.lang.String pInputName, java.lang.Double pDefault)
public java.lang.String getStringInput(java.lang.String pInputName)
public java.lang.String getStringInputOrDefault(java.lang.String pInputName, java.lang.String pDefault)
public java.lang.Integer getIntegerInput(java.lang.String pInputName)
public java.lang.Integer getIntegerInputOrDefault(java.lang.String pInputName, java.lang.Integer pDefault)
public java.lang.Object getProjectPropertyValue(java.lang.String pKey)
pKey
- public java.lang.Object getProjectPropertyValueOrDefault(java.lang.String pKey, java.lang.Object pDefault)
pKey
- pDefault
- public java.lang.Object getInstancePropertyValue(java.lang.String pInstanceCode, java.lang.String pKey)
pInstanceCode
- pKey
- public java.lang.Object getInstancePropertyValueOrDefault(java.lang.String pInstanceCode, java.lang.String pKey, java.lang.Object pDefault)
pInstanceCode
- pKey
- pDefault
- public java.lang.Object getCurrentInstancePropertyValue(java.lang.String pKey)
pKey
- public java.lang.Object getCurrentInstancePropertyValueOrDefault(java.lang.String pKey, java.lang.Object pDefault)
pKey
- pDefault
- public java.lang.String getStringProjectPropertyValue(java.lang.String pKey)
public java.lang.String getStringProjectPropertyValueOrDefault(java.lang.String pKey, java.lang.String pDefault)
public java.lang.String getStringInstancePropertyValue(java.lang.String pInstanceCode, java.lang.String pKey)
public java.lang.String getStringInstancePropertyValueOrDefault(java.lang.String pInstanceCode, java.lang.String pKey, java.lang.String pDefault)
public java.lang.String getStringCurrentInstancePropertyValue(java.lang.String pKey)
public java.lang.String getStringCurrentInstancePropertyValueOrDefault(java.lang.String pKey, java.lang.String pDefault)
public java.lang.Double getDoubleProjectPropertyValue(java.lang.String pKey)
public java.lang.Double getDoubleProjectPropertyValueOrDefault(java.lang.String pKey, java.lang.Double pDefault)
public java.lang.Double getDoubleInstancePropertyValue(java.lang.String pInstanceCode, java.lang.String pKey)
public java.lang.Double getDoubleInstancePropertyValueOrDefault(java.lang.String pInstanceCode, java.lang.String pKey, java.lang.Double pDefault)
public java.lang.Double getDoubleCurrentInstancePropertyValue(java.lang.String pKey)
public java.lang.Double getDoubleCurrentInstancePropertyValueOrDefault(java.lang.String pKey, java.lang.Double pDefault)
public java.lang.Integer getIntegerProjectPropertyValue(java.lang.String pKey)
public java.lang.Integer getIntegerProjectPropertyValueOrDefault(java.lang.String pKey, java.lang.Integer pDefault)
public java.lang.Integer getIntegerInstancePropertyValue(java.lang.String pInstanceCode, java.lang.String pKey)
public java.lang.Integer getIntegerInstancePropertyValueOrDefault(java.lang.String pInstanceCode, java.lang.String pKey, java.lang.Integer pDefault)
public java.lang.Integer getIntegerCurrentInstancePropertyValue(java.lang.String pKey)
public java.lang.Integer getIntegerCurrentInstancePropertyValueOrDefault(java.lang.String pKey, java.lang.Integer pDefault)
public java.lang.Boolean getBooleanProjectPropertyValue(java.lang.String pKey)
public java.lang.Boolean getBooleanProjectPropertyValueOrDefault(java.lang.String pKey, java.lang.Boolean pDefault)
public java.lang.Boolean getBooleanInstancePropertyValue(java.lang.String pInstanceCode, java.lang.String pKey)
public java.lang.Boolean getBooleanInstancePropertyValueOrDefault(java.lang.String pInstanceCode, java.lang.String pKey, java.lang.Boolean pDefault)
public java.lang.Boolean getBooleanCurrentInstancePropertyValue(java.lang.String pKey)
public java.lang.Boolean getBooleanCurrentInstancePropertyValueOrDefault(java.lang.String pKey, java.lang.Boolean pDefault)
public java.lang.Long getLongInput(java.lang.String pInputName)
public java.lang.Long getLongInputOrDefault(java.lang.String pInputName, java.lang.Long pDefault)
public java.lang.Long getLongProjectPropertyValue(java.lang.String pKey)
public java.lang.Long getLongProjectPropertyValueOrDefault(java.lang.String pKey, java.lang.Long pDefault)
public java.lang.Long getLongInstancePropertyValue(java.lang.String pInstanceCode, java.lang.String pKey)
public java.lang.Long getLongInstancePropertyValueOrDefault(java.lang.String pInstanceCode, java.lang.String pKey, java.lang.Long pDefault)
public java.lang.Long getLongCurrentInstancePropertyValue(java.lang.String pKey)
public java.lang.Long getLongCurrentInstancePropertyValueOrDefault(java.lang.String pKey, java.lang.Long pDefault)