org.hawk.module.script.enumeration
Enum BuildModeEnum

java.lang.Object
  extended by java.lang.Enum<BuildModeEnum>
      extended by org.hawk.module.script.enumeration.BuildModeEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BuildModeEnum>

public enum BuildModeEnum
extends java.lang.Enum<BuildModeEnum>

This defines various way a hawk script can be executed.

DEBUG :- runs in debug mode Usage :- sh run-perf-hawk.sh -debug -f {hawk script file}

TRAINING :- shows the tasks implemented by the developer Usage :- sh run-perf-hawk.sh -training

PERF :- This runs in perf mode Usage :- sh run-perf-hawk.sh -perf -f {hawk script file}

HELP :- shows help message Usage :- sh run-perf-hawk.sh -help

COMPILE :- This parses the hawk script for syntax check Usage :- sh run-perf-hawk.sh -compile -f {hawk script file}

See Also:
ScriptUsage

Enum Constant Summary
COMPILE
           
DEBUG
           
HELP
           
PERF
           
PLOTTING
           
TRAINING
           
 
Method Summary
static BuildModeEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BuildModeEnum[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEBUG

public static final BuildModeEnum DEBUG

TRAINING

public static final BuildModeEnum TRAINING

PERF

public static final BuildModeEnum PERF

HELP

public static final BuildModeEnum HELP

COMPILE

public static final BuildModeEnum COMPILE

PLOTTING

public static final BuildModeEnum PLOTTING
Method Detail

values

public static BuildModeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (BuildModeEnum c : BuildModeEnum.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static BuildModeEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null