public class TaskContextVariableExtractor extends Object implements Serializable
Constructor and Description |
---|
TaskContextVariableExtractor() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
extractVariablesThirdPartyCredentialsAndSystemEnvironmentVariables(TaskContext taskContext)
Retrieve all third party credential variables in a map.
|
Map<String,Serializable> |
getAllNonTaskVariables(TaskContext taskContext)
Method to retrieve all variables in scope.
|
Map<String,Serializable> |
getAllNonTaskVariablesInjectNodesFile(TaskContext taskContext,
String nodesFile)
Method to retrieve all variables in scope.
|
Map<String,Serializable> |
getAllVariables(TaskContext taskContext)
Method to retrieve all variables in scope.
|
Map<String,Serializable> |
getAllVariablesWithTaskResult(TaskContext taskContext,
TaskResult taskResult)
Return all variables available.
|
Map<String,Serializable> |
getScopeVariables(TaskContext taskContext)
Return all variables in scope of a given taskContext.
|
public Map<String,String> extractVariablesThirdPartyCredentialsAndSystemEnvironmentVariables(TaskContext taskContext)
taskContext
- all information to extract third party credentials is here.public Map<String,Serializable> getScopeVariables(TaskContext taskContext)
taskContext
- task context container.public Map<String,Serializable> getAllNonTaskVariables(TaskContext taskContext)
taskContext
- task context container.public Map<String,Serializable> getAllNonTaskVariablesInjectNodesFile(TaskContext taskContext, String nodesFile)
taskContext
- task context container.public Map<String,Serializable> getAllVariablesWithTaskResult(TaskContext taskContext, TaskResult taskResult)
taskContext
- context containing all variables inside.taskResult
- used to retrieve the result task variables.public Map<String,Serializable> getAllVariables(TaskContext taskContext)
taskContext
-