Interface VariableAccess

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String decryptEncryptedValue​(java.lang.String var)
      Decrypts the encrypted value specified.
      java.lang.Object getEncryptedVariable​(java.lang.String var)
      Returns the encrypted value of the variable specified.
      java.lang.Object getVariable​(java.lang.String var)
      Returns the value of the named variable.
      java.util.Enumeration getVariables()
      Returns an enumeration with the name of all installer variables.
      java.lang.Object setVariable​(java.lang.String var, java.lang.Object value)
      Sets the named variable to to refer to the value.
      java.lang.String substitute​(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.