public class MockWorkflowExecutionContext extends WorkflowExecutionContext
Constructor and Description |
---|
MockWorkflowExecutionContext()
Create a MockWorkflowExecutionContext with no inputs.
|
MockWorkflowExecutionContext(java.util.Map<java.lang.String,PropertyValue> pInputs)
Create a MockWorkflowExecutionContext with custom inputs.
|
Modifier and Type | Method and Description |
---|---|
void |
cleanArtifactsDirectory() |
void |
cleanInternalDirectory() |
void |
cleanObjectResultsDirectory() |
void |
cleanReportsDirectory() |
void |
cleanTempDirectory() |
void |
cleanTestResultsDirectory() |
void |
cleanTransferDirectory() |
void |
cleanWorkingDirectory()
This cleans all the directories inside the Working directory as well.
|
boolean |
isWindows() |
void |
setIsWindows(boolean pIsWindows) |
addProperty, addProperty, clone, getArtifactsDirectory, getBaseInstallDirectory, getBaseWorkingDirectory, getEnvironment, getInput, getInputMap, getInstallPluginsDirectory, getInstallPluginsDirectory, getInstance, getInternalDirectory, getLastEndPoint, getObjectResultsDirectory, getOrginatingWorkflowExecutionId, getOutputMap, getPackageObjects, getPluginExecutionId, getPrintablePropertyValue, getPrintablePropertyValue, getProject, getProjectSourcesDirectory, getProjectWorkflowType, getProperties, getPropertyValue, getPropertyValue, getPropertyValueOrDefault, getPropertyValueOrDefault, getReportsDirectory, getTempDirectory, getTestResultsDirectory, getTransferDirectory, getWorkflowExecutionId, getWorkflowRequestId, getWorkingDirectory, isForceDeploy, isPostRefresh, setBaseInstallDirectory, setEnvironment, setForceDeploy, setInstance, setLastEndPoint, setOrginatingWorkflowExecutionId, setOutput, setPackageObjects, setPluginExecutionId, setPostRefresh, setProject, setProjectWorkflowType, setProperties, setWorkflowExecutionId, setWorkflowRequestId, toString
public MockWorkflowExecutionContext(java.util.Map<java.lang.String,PropertyValue> pInputs)
pInputs
- - ConcurrentHashMap<String, PropertyValue&rt; of inputs to pass into the plugin.public MockWorkflowExecutionContext()
public void cleanTempDirectory() throws FlexCheckedException
FlexCheckedException
public void cleanArtifactsDirectory() throws FlexCheckedException
FlexCheckedException
public void cleanInternalDirectory() throws FlexCheckedException
FlexCheckedException
public void cleanTransferDirectory() throws FlexCheckedException
FlexCheckedException
public void cleanObjectResultsDirectory() throws FlexCheckedException
FlexCheckedException
public void cleanTestResultsDirectory() throws FlexCheckedException
FlexCheckedException
public void cleanReportsDirectory() throws FlexCheckedException
FlexCheckedException
public void cleanWorkingDirectory() throws FlexCheckedException
FlexCheckedException
public boolean isWindows()
isWindows
in class WorkflowExecutionContext
public void setIsWindows(boolean pIsWindows)