public enum CODACommand extends java.lang.Enum<CODACommand>
Modifier and Type | Class and Description |
---|---|
static class |
CODACommand.InputType
Ways in which a command's input obtained from a cMsg message.
|
Enum Constant and Description |
---|
CONFIGURE
Configure transition.
|
DISABLE_OUTPUT
Command to disable output channels.
|
DOWNLOAD
Download transition.
|
ENABLE_OUTPUT
Command to enable output channels.
|
END
End transition.
|
EXIT
Command to exit.
|
GET_BUF_LEVEL
Command to get buffer level - smallest evio-event/et-buffer for ROCs.
|
GET_CODA_CLASS
Command to get the coda class.
|
GET_CONFIG_ID
Command to get config id.
|
GET_OBJECT_TYPE
Command to get the object type.
|
GET_RUN_NUMBER
Command to get run number .
|
GET_RUN_TYPE
Command to get run type.
|
GET_SESSION
Command to get session.
|
GET_STATE
Command to get the state .
|
GET_STATUS
Command to get the status.
|
GO
Go transition.
|
PRESTART
Prestart transition.
|
RESET
Reset transition.
|
SET_BUF_LEVEL
Command to set buffer level - smallest evio-event/et-buffer for ROCs.
|
SET_INTERVAL
Command to set time interval between reporting messages in seconds.
|
SET_PRE_END
Command to tell emu, END button was pushed.
|
SET_RUN_NUMBER
Command to set run number .
|
SET_RUN_TYPE
Command to set run type.
|
SET_SESSION
Command to set session.
|
START_REPORTING
Command to set start reporting.
|
STOP_REPORTING
Command to set stop reporting.
|
Modifier and Type | Method and Description |
---|---|
static CODACommand |
get(java.lang.String s)
Map from type of incoming message from run control to a particular enum.
|
java.lang.String |
getCmdString()
Get the string coming from Run Control specifying this command.
|
java.lang.String |
getDescription()
Get this command's description.
|
int |
getGuiGroup() |
static java.util.EnumSet<CODACommand> |
getGuiGroup(int group)
This method returns an EnumSet object of all the CODACommands which
are of the given gui group.
|
CODACommand.InputType |
getInputType() |
java.lang.String |
getPayloadName() |
boolean |
isTransition() |
static CODACommand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CODACommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CODACommand CONFIGURE
public static final CODACommand DOWNLOAD
public static final CODACommand PRESTART
public static final CODACommand GO
public static final CODACommand END
public static final CODACommand RESET
public static final CODACommand GET_STATE
public static final CODACommand GET_STATUS
public static final CODACommand GET_OBJECT_TYPE
public static final CODACommand GET_CODA_CLASS
public static final CODACommand SET_BUF_LEVEL
public static final CODACommand GET_BUF_LEVEL
public static final CODACommand ENABLE_OUTPUT
public static final CODACommand DISABLE_OUTPUT
public static final CODACommand SET_INTERVAL
public static final CODACommand START_REPORTING
public static final CODACommand STOP_REPORTING
public static final CODACommand EXIT
public static final CODACommand SET_SESSION
public static final CODACommand GET_SESSION
public static final CODACommand SET_RUN_NUMBER
public static final CODACommand GET_RUN_NUMBER
public static final CODACommand SET_RUN_TYPE
public static final CODACommand GET_RUN_TYPE
public static final CODACommand GET_CONFIG_ID
public static final CODACommand SET_PRE_END
public static CODACommand[] values()
for (CODACommand c : CODACommand.values()) System.out.println(c);
public static CODACommand valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static CODACommand get(java.lang.String s)
s
- type contained in incoming message from run control.public CODACommand.InputType getInputType()
public int getGuiGroup()
public boolean isTransition()
public java.lang.String getPayloadName()
public static java.util.EnumSet<CODACommand> getGuiGroup(int group)
group
- gui group we want the members ofpublic java.lang.String getCmdString()
public java.lang.String getDescription()