public static class ActionXCommand.ForkedActionExecutorContext extends ActionXCommand.ActionExecutorContext
action, workflow
Constructor and Description |
---|
ActionXCommand.ForkedActionExecutorContext(WorkflowJobBean workflow,
WorkflowActionBean action,
boolean isRetry,
boolean isUserRetry) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getContextMap() |
String |
getVar(String name)
Get a workflow action variable.
|
void |
setVar(String name,
String value)
Set a workflow action variable.
|
getAction, getActionDir, getAppFileSystem, getCallbackUrl, getELEvaluator, getJobStatus, getProtoActionConf, getRecoveryId, getWorkflow, isEnded, isExecuted, isRetry, isShouldEndWF, isStarted, isUserRetry, setEndData, setErrorInfo, setExecutionData, setExecutionStats, setExternalChildIDs, setExternalStatus, setJobStatus, setShouldEndWF, setStartData, setStartTime, setVarToWorkflow
public ActionXCommand.ForkedActionExecutorContext(WorkflowJobBean workflow, WorkflowActionBean action, boolean isRetry, boolean isUserRetry)
public void setVar(String name, String value)
ActionExecutor.Context
Convenience method that prefixes the variable name with the action name plus a '.'.
setVar
in interface ActionExecutor.Context
setVar
in class ActionXCommand.ActionExecutorContext
name
- variable name.value
- variable value, null
removes the variable.public String getVar(String name)
ActionExecutor.Context
Convenience method that prefixes the variable name with the action name plus a '.'.
getVar
in interface ActionExecutor.Context
getVar
in class ActionXCommand.ActionExecutorContext
name
- variable name.null
if not set.public Map<String,String> getContextMap()
Copyright © 2016 Apache Software Foundation. All rights reserved.