Package jmri
Enum Conditional.Type
- java.lang.Object
-
- java.lang.Enum<Conditional.Type>
-
- jmri.Conditional.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Conditional.Type>
- Enclosing interface:
- Conditional
public static enum Conditional.Type extends java.lang.Enum<Conditional.Type>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.List<Conditional.Type>
getConditionalItems()
static java.util.List<Conditional.Type>
getEntryExitItems()
static int
getIndexInList(java.util.List<Conditional.Type> table, Conditional.Type entry)
int
getIntValue()
Conditional.ItemType
getItemType()
static java.util.List<Conditional.Type>
getLightItems()
static java.util.List<Conditional.Type>
getMemoryItems()
static java.util.List<Conditional.Type>
getOBlockItems()
static Conditional.Type
getOperatorFromIntValue(int typeInt)
static java.util.List<Conditional.Type>
getSensorItems()
static java.util.List<Conditional.Type>
getSignalHeadStateMachineItems()
static java.util.List<Conditional.Type>
getSignalMastItems()
java.lang.String
getTestTypeString()
static java.util.List<Conditional.Type>
getTurnoutItems()
static java.util.List<Conditional.Type>
getWarrantItems()
static boolean
isSignalHeadApperance(Conditional.Type type)
java.lang.String
toString()
static Conditional.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Conditional.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR
public static final Conditional.Type ERROR
-
NONE
public static final Conditional.Type NONE
-
SENSOR_ACTIVE
public static final Conditional.Type SENSOR_ACTIVE
-
SENSOR_INACTIVE
public static final Conditional.Type SENSOR_INACTIVE
-
TURNOUT_THROWN
public static final Conditional.Type TURNOUT_THROWN
-
TURNOUT_CLOSED
public static final Conditional.Type TURNOUT_CLOSED
-
CONDITIONAL_TRUE
public static final Conditional.Type CONDITIONAL_TRUE
-
CONDITIONAL_FALSE
public static final Conditional.Type CONDITIONAL_FALSE
-
LIGHT_ON
public static final Conditional.Type LIGHT_ON
-
LIGHT_OFF
public static final Conditional.Type LIGHT_OFF
-
MEMORY_EQUALS
public static final Conditional.Type MEMORY_EQUALS
-
MEMORY_COMPARE
public static final Conditional.Type MEMORY_COMPARE
-
MEMORY_EQUALS_INSENSITIVE
public static final Conditional.Type MEMORY_EQUALS_INSENSITIVE
-
MEMORY_COMPARE_INSENSITIVE
public static final Conditional.Type MEMORY_COMPARE_INSENSITIVE
-
FAST_CLOCK_RANGE
public static final Conditional.Type FAST_CLOCK_RANGE
-
SIGNAL_HEAD_RED
public static final Conditional.Type SIGNAL_HEAD_RED
-
SIGNAL_HEAD_YELLOW
public static final Conditional.Type SIGNAL_HEAD_YELLOW
-
SIGNAL_HEAD_GREEN
public static final Conditional.Type SIGNAL_HEAD_GREEN
-
SIGNAL_HEAD_DARK
public static final Conditional.Type SIGNAL_HEAD_DARK
-
SIGNAL_HEAD_FLASHRED
public static final Conditional.Type SIGNAL_HEAD_FLASHRED
-
SIGNAL_HEAD_FLASHYELLOW
public static final Conditional.Type SIGNAL_HEAD_FLASHYELLOW
-
SIGNAL_HEAD_FLASHGREEN
public static final Conditional.Type SIGNAL_HEAD_FLASHGREEN
-
SIGNAL_HEAD_LIT
public static final Conditional.Type SIGNAL_HEAD_LIT
-
SIGNAL_HEAD_HELD
public static final Conditional.Type SIGNAL_HEAD_HELD
-
SIGNAL_HEAD_LUNAR
public static final Conditional.Type SIGNAL_HEAD_LUNAR
-
SIGNAL_HEAD_FLASHLUNAR
public static final Conditional.Type SIGNAL_HEAD_FLASHLUNAR
-
ROUTE_FREE
public static final Conditional.Type ROUTE_FREE
-
ROUTE_OCCUPIED
public static final Conditional.Type ROUTE_OCCUPIED
-
ROUTE_ALLOCATED
public static final Conditional.Type ROUTE_ALLOCATED
-
ROUTE_SET
public static final Conditional.Type ROUTE_SET
-
TRAIN_RUNNING
public static final Conditional.Type TRAIN_RUNNING
-
SIGNAL_MAST_ASPECT_EQUALS
public static final Conditional.Type SIGNAL_MAST_ASPECT_EQUALS
-
SIGNAL_MAST_LIT
public static final Conditional.Type SIGNAL_MAST_LIT
-
SIGNAL_MAST_HELD
public static final Conditional.Type SIGNAL_MAST_HELD
-
SIGNAL_HEAD_APPEARANCE_EQUALS
public static final Conditional.Type SIGNAL_HEAD_APPEARANCE_EQUALS
-
BLOCK_STATUS_EQUALS
public static final Conditional.Type BLOCK_STATUS_EQUALS
-
ENTRYEXIT_ACTIVE
public static final Conditional.Type ENTRYEXIT_ACTIVE
-
ENTRYEXIT_INACTIVE
public static final Conditional.Type ENTRYEXIT_INACTIVE
-
OBLOCK_UNOCCUPIED
public static final Conditional.Type OBLOCK_UNOCCUPIED
-
OBLOCK_OCCUPIED
public static final Conditional.Type OBLOCK_OCCUPIED
-
OBLOCK_ALLOCATED
public static final Conditional.Type OBLOCK_ALLOCATED
-
OBLOCK_RUNNING
public static final Conditional.Type OBLOCK_RUNNING
-
OBLOCK_OUT_OF_SERVICE
public static final Conditional.Type OBLOCK_OUT_OF_SERVICE
-
OBLOCK_DARK
public static final Conditional.Type OBLOCK_DARK
-
OBLOCK_POWER_ERROR
public static final Conditional.Type OBLOCK_POWER_ERROR
-
XXXXXXX
public static final Conditional.Type XXXXXXX
-
-
Method Detail
-
values
public static Conditional.Type[] 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 (Conditional.Type c : Conditional.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Conditional.Type 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 namejava.lang.NullPointerException
- if the argument is null
-
getItemType
public Conditional.ItemType getItemType()
-
getIntValue
public int getIntValue()
-
getSensorItems
public static java.util.List<Conditional.Type> getSensorItems()
-
getTurnoutItems
public static java.util.List<Conditional.Type> getTurnoutItems()
-
getConditionalItems
public static java.util.List<Conditional.Type> getConditionalItems()
-
getLightItems
public static java.util.List<Conditional.Type> getLightItems()
-
getWarrantItems
public static java.util.List<Conditional.Type> getWarrantItems()
-
getMemoryItems
public static java.util.List<Conditional.Type> getMemoryItems()
-
getEntryExitItems
public static java.util.List<Conditional.Type> getEntryExitItems()
-
getSignalHeadStateMachineItems
public static java.util.List<Conditional.Type> getSignalHeadStateMachineItems()
-
isSignalHeadApperance
public static boolean isSignalHeadApperance(Conditional.Type type)
-
getSignalMastItems
public static java.util.List<Conditional.Type> getSignalMastItems()
-
getOBlockItems
public static java.util.List<Conditional.Type> getOBlockItems()
-
getIndexInList
public static int getIndexInList(java.util.List<Conditional.Type> table, Conditional.Type entry)
-
getOperatorFromIntValue
public static Conditional.Type getOperatorFromIntValue(int typeInt)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<Conditional.Type>
-
getTestTypeString
public java.lang.String getTestTypeString()
-
-