Package adams.env

Class InstanceExplorerDefinition

  • All Implemented Interfaces:
    Serializable

    public class InstanceExplorerDefinition
    extends adams.env.AbstractPropertiesDefinition
    Definition for the InstanceExplorer props file.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String KEY
      the key as constant.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getFile()
      Returns the properties file name (no path) this definition is for.
      String getKey()
      Returns the key this definition is for.
      void update​(adams.env.AbstractEnvironment env)
      Updates the environment object with its definition for the props file (whether to add/replace/etc the values).
      • Methods inherited from class adams.env.AbstractPropertiesDefinition

        add, add, add, createPath, createPath, getAlternativeExtension, hasAlternativeExtension, replace, replace, toString
    • Constructor Detail

      • InstanceExplorerDefinition

        public InstanceExplorerDefinition()
    • Method Detail

      • getKey

        public String getKey()
        Returns the key this definition is for.
        Specified by:
        getKey in class adams.env.AbstractPropertiesDefinition
        Returns:
        the key
      • getFile

        public String getFile()
        Returns the properties file name (no path) this definition is for.
        Specified by:
        getFile in class adams.env.AbstractPropertiesDefinition
        Returns:
        the key
      • update

        public void update​(adams.env.AbstractEnvironment env)
        Updates the environment object with its definition for the props file (whether to add/replace/etc the values).
        Specified by:
        update in class adams.env.AbstractPropertiesDefinition
        Parameters:
        env - the environment object to update