Package com.zerog.ia.api.pub
Interface VariableAccess
-
- All Known Implementing Classes:
CustomCodeConsoleProxy,CustomCodePanelProxy,CustomCodeRuleProxy,InstallerProxy,UninstallerProxy
public interface VariableAccess
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringdecryptEncryptedValue(java.lang.String var)Decrypts the encrypted value specified.java.lang.ObjectgetEncryptedVariable(java.lang.String var)Returns the encrypted value of the variable specified.java.lang.ObjectgetVariable(java.lang.String var)Returns the value of the named variable.java.util.EnumerationgetVariables()Returns an enumeration with the name of all installer variables.java.lang.ObjectsetVariable(java.lang.String var, java.lang.Object value)Sets the named variable to to refer to the value.java.lang.Stringsubstitute(java.lang.String var)Returns the fully resolved value of the named variable.
-
-
-
Method Detail
-
getVariable
java.lang.Object getVariable(java.lang.String var)
Returns the value of the named variable. If no variable is defined for that name, returns null.
-
getVariables
java.util.Enumeration getVariables()
Returns an enumeration with the name of all installer variables.
-
substitute
java.lang.String substitute(java.lang.String var)
Returns the fully resolved value of the named variable. If no variable is defined for that name, returns "". Calls toString on non-string objects.
-
setVariable
java.lang.Object setVariable(java.lang.String var, java.lang.Object value)Sets the named variable to to refer to the value. If the variable was already set, its previous value is returned. Otherwise, returns null.
-
getEncryptedVariable
java.lang.Object getEncryptedVariable(java.lang.String var)
Returns the encrypted value of the variable specified. If no variable is defined for that name, returns null.
-
decryptEncryptedValue
java.lang.String decryptEncryptedValue(java.lang.String var)
Decrypts the encrypted value specified. If the value passed is not numeric, then it returns null. If the variable is numeric & is not encrypted, it returns the decrypted value.
-
-