com.izforge.izpack.installer
Interface VariableValueMap

All Superinterfaces:
java.util.Map
All Known Implementing Classes:
AutomatedInstallData.VariableValueMapImpl, VariableValueMapImpl

public interface VariableValueMap
extends java.util.Map

Maps variable names to a variable value.

Author:
Johannes Lehtinen

Nested Class Summary
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Method Summary
 java.lang.String getVariable(java.lang.String var)
          Returns the current value for the specified variable.
 void setVariable(java.lang.String var, java.lang.String val)
          Sets a new value for the specified variable.
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

getVariable

public java.lang.String getVariable(java.lang.String var)
Returns the current value for the specified variable.

Parameters:
var - the name of the variable
Returns:
the current value or null if not set

setVariable

public void setVariable(java.lang.String var,
                        java.lang.String val)
Sets a new value for the specified variable.

Parameters:
var - the name of the variable
val - the new value for the variable