com.azalient.apo.enums
Enum SignalRuleOperation

java.lang.Object
  extended by java.lang.Enum<SignalRuleOperation>
      extended by com.azalient.apo.enums.SignalRuleOperation
All Implemented Interfaces:
Serializable, Comparable<SignalRuleOperation>

public enum SignalRuleOperation
extends Enum<SignalRuleOperation>

Operations used in tests in signal rules: gap, occupancy, ...


Enum Constant Summary
ELAPSED
           
GAP
           
OCCUPANCY
           
PHASEINDEX
           
PUSH
           
REMAINING
           
 
Method Summary
 boolean forControllers()
           
 boolean forCrossings()
           
 boolean forLoops()
           
static SignalRuleOperation valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SignalRuleOperation[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 String word1()
           
 String word2()
           
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GAP

public static final SignalRuleOperation GAP

OCCUPANCY

public static final SignalRuleOperation OCCUPANCY

PUSH

public static final SignalRuleOperation PUSH

ELAPSED

public static final SignalRuleOperation ELAPSED

REMAINING

public static final SignalRuleOperation REMAINING

PHASEINDEX

public static final SignalRuleOperation PHASEINDEX
Method Detail

values

public static SignalRuleOperation[] 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 (SignalRuleOperation c : SignalRuleOperation.values())
    System.out.println(c);

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

valueOf

public static SignalRuleOperation valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

word1

public String word1()

word2

public String word2()

forLoops

public boolean forLoops()

forCrossings

public boolean forCrossings()

forControllers

public boolean forControllers()