org.jlab.coda.afecs.ui.rcgui
Enum CodaSM

java.lang.Object
  extended by java.lang.Enum<CodaSM>
      extended by org.jlab.coda.afecs.ui.rcgui.CodaSM
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CodaSM>

public enum CodaSM
extends java.lang.Enum<CodaSM>

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), 5/18/11


Enum Constant Summary
ABORT
           
DOWNLOAD
           
END
           
GO
           
PRESTART
           
RESET
           
STARTRUN
           
 
Method Summary
 java.lang.String cmd()
           
 java.lang.String inActionString()
           
 java.lang.String response()
           
 int stateId()
           
static CodaSM valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CodaSM[] 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
 

Enum Constant Detail

DOWNLOAD

public static final CodaSM DOWNLOAD

PRESTART

public static final CodaSM PRESTART

GO

public static final CodaSM GO

END

public static final CodaSM END

STARTRUN

public static final CodaSM STARTRUN

RESET

public static final CodaSM RESET

ABORT

public static final CodaSM ABORT
Method Detail

values

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

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

valueOf

public static CodaSM 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

stateId

public int stateId()

cmd

public java.lang.String cmd()

response

public java.lang.String response()

inActionString

public java.lang.String inActionString()