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, setVarToWorkflowpublic ActionXCommand.ForkedActionExecutorContext(WorkflowJobBean workflow, WorkflowActionBean action, boolean isRetry, boolean isUserRetry)
public void setVar(String name, String value)
ActionExecutor.ContextConvenience method that prefixes the variable name with the action name plus a '.'.
setVar in interface ActionExecutor.ContextsetVar in class ActionXCommand.ActionExecutorContextname - variable name.value - variable value, null removes the variable.public String getVar(String name)
ActionExecutor.ContextConvenience method that prefixes the variable name with the action name plus a '.'.
getVar in interface ActionExecutor.ContextgetVar in class ActionXCommand.ActionExecutorContextname - variable name.null if not set.public Map<String,String> getContextMap()
Copyright © 2018 Apache Software Foundation. All rights reserved.