Class FFXBinding
java.lang.Object
ffx.utilities.FFXBinding
The FFXBinding binds variable names to their instances for an FFX Command.
- Author:
- Michael J. Schnieders
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for FFXContext.FFXBinding(String[] args) A helper constructor used in main(String[]) method callsFFXBinding(Map<String, Object> variables) Constructor for FFXContext. -
Method Summary
Modifier and TypeMethodDescriptiongetVariable(String name) getVariable.Get the Map of all variables.booleanhasVariable(String name) Simple check for whether the context contains a particular variable or not.voidremoveVariable(String name) Remove the variable with the specified name.voidsetVariable(String name, Object value) Sets the value of the given variablevoidsetVariables(Map<String, Object> variables) Set the Map of all variables.
-
Constructor Details
-
FFXBinding
public FFXBinding()Constructor for FFXContext.
-
FFXBinding
-
FFXBinding
A helper constructor used in main(String[]) method calls- Parameters:
args- are the command line arguments from a main()
-
-
Method Details
-
getVariable
-
setVariable
-
removeVariable
Remove the variable with the specified name.- Parameters:
name- the name of the variable to remove
-
hasVariable
Simple check for whether the context contains a particular variable or not.- Parameters:
name- the name of the variable to check for- Returns:
- a boolean
-
getVariables
-
setVariables
-