Class RuntimeConfiguration

java.lang.Object
org.savantbuild.runtime.RuntimeConfiguration

public class RuntimeConfiguration extends Object
Runtime configuration for a Savant build run.
  • Field Details

    • DEBUG_SWITCH

      public static final String DEBUG_SWITCH
      Define the debug switch.
      See Also:
    • colorizeOutput

      public boolean colorizeOutput
      Determines if the output should be colorized.
    • debug

      public boolean debug
      Determines if debug output is enabled.
    • help

      public boolean help
      Determines if the user needs help.
    • listTargets

      public boolean listTargets
      Determines if the targets in the project build file should be printed to the output.
    • switches

      public Switches switches
      The command-line switches.
    • targets

      public List<String> targets
      The list of targets to execute (in order).
    • printVersion

      public boolean printVersion
      Determines if the version should be displayed
  • Constructor Details

    • RuntimeConfiguration

      public RuntimeConfiguration()
    • RuntimeConfiguration

      public RuntimeConfiguration(boolean colorizeOutput, String... targets)