org.jlab.coda.afecs.system
Enum ACodaType
java.lang.Object
java.lang.Enum<ACodaType>
org.jlab.coda.afecs.system.ACodaType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ACodaType>
public enum ACodaType
- extends java.lang.Enum<ACodaType>
JSA: Thomas Jefferson National Accelerator Facility
This software was developed under a United States Government license,
described in the NOTICE file included as part of this distribution.
Copyright (c), Oct 2, 2009
Method Summary |
int |
priority()
|
static ACodaType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ACodaType[] |
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 |
EMU
public static final ACodaType EMU
USER
public static final ACodaType USER
SLC
public static final ACodaType SLC
WNC
public static final ACodaType WNC
ER
public static final ACodaType ER
CDEB
public static final ACodaType CDEB
ROC
public static final ACodaType ROC
TS
public static final ACodaType TS
SMS
public static final ACodaType SMS
RCS
public static final ACodaType RCS
values
public static ACodaType[] 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 (ACodaType c : ACodaType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ACodaType 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
priority
public int priority()