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, toStringpublic 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
FlexCheckedExceptionpublic void cleanArtifactsDirectory()
throws FlexCheckedException
FlexCheckedExceptionpublic void cleanInternalDirectory()
throws FlexCheckedException
FlexCheckedExceptionpublic void cleanTransferDirectory()
throws FlexCheckedException
FlexCheckedExceptionpublic void cleanObjectResultsDirectory()
throws FlexCheckedException
FlexCheckedExceptionpublic void cleanTestResultsDirectory()
throws FlexCheckedException
FlexCheckedExceptionpublic void cleanReportsDirectory()
throws FlexCheckedException
FlexCheckedExceptionpublic void cleanWorkingDirectory()
throws FlexCheckedException
FlexCheckedExceptionpublic boolean isWindows()
isWindows in class WorkflowExecutionContextpublic void setIsWindows(boolean pIsWindows)