Class MwConstants

java.lang.Object
com.marswars.subsystem.MwConstants

public class MwConstants extends Object
  • Field Details

  • Constructor Details

    • MwConstants

      protected MwConstants()
  • Method Details

    • getSystemName

      protected String getSystemName()
    • getDoubleConstant

      protected final double getDoubleConstant(String... path_steps)
      Get a double constant from the configuration file
      Parameters:
      path_steps - comma separated list of strings representing the path to the constant
      Returns:
      the double constant
    • getIntConstant

      protected final int getIntConstant(String... path_steps)
      Get an integer constant from the configuration file
      Parameters:
      path_steps - comma separated list of strings representing the path to the constant
      Returns:
      the integer constant
    • getStringConstant

      protected final String getStringConstant(String... path_steps)
      Get a string constant from the configuration file
      Parameters:
      path_steps - comma separated list of strings representing the path to the constant
      Returns:
      the string constant
    • getBoolConstant

      protected final boolean getBoolConstant(String... path_steps)
      Get a boolean constant from the configuration file
      Parameters:
      path_steps - comma separated list of strings representing the path to the constant
      Returns:
      the boolean constant