public class ExecutionContext extends Object
Constructor and Description |
---|
ExecutionContext(String batchId,
String flowId,
String executionId,
ExecutionPhase phase,
Map<String,String> arguments)
Creates a new instance.
|
ExecutionContext(String batchId,
String flowId,
String executionId,
ExecutionPhase phase,
Map<String,String> arguments,
Map<String,String> environmentVariables)
Creates a new instance.
|
ExecutionContext(String batchId,
String flowId,
String executionId,
ExecutionPhase phase,
Map<String,String> arguments,
Map<String,String> environmentVariables,
Map<String,? extends Blob> extensions)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getArguments()
Returns current argument pairs.
|
String |
getArgumentsAsString()
Returns current argument pairs as string format.
|
String |
getBatchId()
Returns current batch ID.
|
Map<String,String> |
getEnvironmentVariables()
Returns current environment variables for sub processes.
|
String |
getExecutionId()
Returns current execution ID.
|
Map<String,Blob> |
getExtensions()
Returns the extension BLOBs.
|
String |
getFlowId()
Returns current flow ID.
|
ExecutionPhase |
getPhase()
Returns current execution phase.
|
String |
toString() |
public ExecutionContext(String batchId, String flowId, String executionId, ExecutionPhase phase, Map<String,String> arguments)
batchId
- current batch IDflowId
- current flow IDexecutionId
- current execution IDphase
- current execution phasearguments
- current argument pairsIllegalArgumentException
- if some parameters were null
public ExecutionContext(String batchId, String flowId, String executionId, ExecutionPhase phase, Map<String,String> arguments, Map<String,String> environmentVariables)
batchId
- current batch IDflowId
- current flow IDexecutionId
- current execution IDphase
- current execution phasearguments
- current argument pairsenvironmentVariables
- environment variables to be inheritedIllegalArgumentException
- if some parameters were null
public ExecutionContext(String batchId, String flowId, String executionId, ExecutionPhase phase, Map<String,String> arguments, Map<String,String> environmentVariables, Map<String,? extends Blob> extensions)
batchId
- current batch IDflowId
- current flow IDexecutionId
- current execution IDphase
- current execution phasearguments
- current argument pairsenvironmentVariables
- environment variables to be inheritedextensions
- extension BLOB mapIllegalArgumentException
- if some parameters were null
public String getBatchId()
public String getFlowId()
public String getExecutionId()
public ExecutionPhase getPhase()
public Map<String,String> getArguments()
public Map<String,String> getEnvironmentVariables()
public Map<String,Blob> getExtensions()
public String getArgumentsAsString()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.