Enum Class CODAClass
- All Implemented Interfaces:
Serializable,Comparable<CODAClass>,Constable
This class is an enum which lists all the possible CODA class values,
which are the types of CODA components such as ROC, EMU, or ER.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionData concentrator (first level) type of event builder.Event builder and Event recorder connected with fifo - to be used with DC's or ROCs.Event management unit.Event Recorder.Farm Controller.GTPrimary event builder (one and only one event builder).Event builder and Event recorder connected with fifo - to be used with ROCs.Read out controller.Secondary (second level) type of event builder - to be used with DC's.Event builder and Event recorder connected with fifo - to be used with DCs.Slow control component.Trigger supervisor.User component. -
Method Summary
Modifier and TypeMethodDescriptionGet the description of this transition.static CODAClassMap from type of incoming message from CODA class name to a particular enum.intGet the default priority associated with this CODA class.booleanIs this class representative of an event building emu?booleanIs this class representative of an event recording emu?booleanIs this class representative of a final event building emu (NOT DC)?static CODAClassReturns the enum constant of this class with the specified name.static CODAClass[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
TS
Trigger supervisor. -
GT
GT -
ROC
Read out controller. -
DC
Data concentrator (first level) type of event builder. -
EBER
Event builder and Event recorder connected with fifo - to be used with DC's or ROCs. -
PEBER
Event builder and Event recorder connected with fifo - to be used with ROCs. -
SEBER
Event builder and Event recorder connected with fifo - to be used with DCs. -
SEB
Secondary (second level) type of event builder - to be used with DC's. -
PEB
Primary event builder (one and only one event builder). -
FCS
Farm Controller. -
ER
Event Recorder. -
SLC
Slow control component. -
USR
User component. -
EMU
Event management unit.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
get
Map from type of incoming message from CODA class name to a particular enum.- Parameters:
s- CODA class name.- Returns:
- associated enum, else null.
-
description
Get the description of this transition.- Returns:
- description string.
- See Also:
-
getPriority
public int getPriority()Get the default priority associated with this CODA class.- Returns:
- priority.
-
isEventBuilder
public boolean isEventBuilder()Is this class representative of an event building emu?- Returns:
trueif this class represents an event building emu, elsefalse.
-
isFinalEventBuilder
public boolean isFinalEventBuilder()Is this class representative of a final event building emu (NOT DC)?- Returns:
trueif this class represents a final event building emu, elsefalse.
-
isEventRecorder
public boolean isEventRecorder()Is this class representative of an event recording emu?- Returns:
trueif this class represents an event recording emu, elsefalse.
-