Class WekaHomeEnvironmentModifier

  • All Implemented Interfaces:
    adams.core.GlobalInfoSupporter, adams.core.logging.LoggingSupporter, adams.core.management.EnvironmentModifier, adams.core.option.SimpleOptionParser, adams.core.SizeOfHandler, Serializable

    public class WekaHomeEnvironmentModifier
    extends adams.core.management.AbstractEnvironmentModifier
    Sets a custom WEKA_HOME environment variable inside the project's home directory.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String ENV_VAR
      the WEKA_HOME environment variable.
      • Fields inherited from class adams.core.logging.LoggingObject

        m_Logger, m_LoggingIsEnabled, m_LoggingLevel
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String globalInfo()
      Returns a string describing the object.
      boolean updateEnvironment​(List<String> env)
      Updates the environment variables that the Launcher uses for launching the ADAMS process.
      • Methods inherited from class adams.core.option.AbstractSimpleOptionParser

        forCommandline, getParser, setOptions, setOptions
      • Methods inherited from class adams.core.logging.LoggingObject

        configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
      • Methods inherited from interface adams.core.option.SimpleOptionParser

        getParser, setOptions
    • Constructor Detail

      • WekaHomeEnvironmentModifier

        public WekaHomeEnvironmentModifier()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Returns:
        a description suitable for displaying in the gui
      • updateEnvironment

        public boolean updateEnvironment​(List<String> env)
        Updates the environment variables that the Launcher uses for launching the ADAMS process.
        Parameters:
        env - the current key=value pairs
        Returns:
        if the environment got updated