public class JobEnvironment extends Environment
| Constructor and Description |
|---|
JobEnvironment()
Constructor
|
JobEnvironment(Environment env)
Construct a JobEnvironment by copying the contents of a standard
Environment
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAllResults(Map<String,LinkedHashSet<Data>> otherResults)
Add all the results from the supplied map to this environment's results
|
void |
addToResult(Data data)
Add a non-incremental data object to the result
|
void |
addToStepProperties(Map<String,Map<String,String>> propsToAdd)
Add the supplied map of step properties.
|
void |
clearResultData() |
void |
clearStepProperties()
Clear all step properties
|
Map<String,LinkedHashSet<Data>> |
getResultData()
Get a map of all the result data objects
|
LinkedHashSet<Data> |
getResultDataOfType(String connName)
Get a list of any result data objects of the supplied connection type
|
Map<String,String> |
getStepProperties(String stepName)
Get the step properties for a named step
|
boolean |
hasResultDataOfType(String connName)
Returns true if the results contain data of a particular connection type
|
addVariable, addVariableSystemWide, containsEnvVariables, getRevision, getSystemWide, getVariableNames, getVariableValue, main, removeVariable, substitutepublic JobEnvironment()
public JobEnvironment(Environment env)
env - the Environment to copy into this JobEnvironmentpublic void addToResult(Data data)
data - the data to addpublic void addAllResults(Map<String,LinkedHashSet<Data>> otherResults)
otherResults - the results to addpublic LinkedHashSet<Data> getResultDataOfType(String connName)
connName - the name of the connection to get result data objects forpublic boolean hasResultDataOfType(String connName)
connName - the name of the connection to check for datapublic Map<String,LinkedHashSet<Data>> getResultData()
public void clearResultData()
public Map<String,String> getStepProperties(String stepName)
stepName - the name of the step to get properties forpublic void clearStepProperties()
public void addToStepProperties(Map<String,Map<String,String>> propsToAdd)
propsToAdd - properties to addCopyright © 2020 University of Waikato, Hamilton, NZ. All rights reserved.