Package jmri.implementation
Enum MultiIndexProgrammerFacade.ProgState
- java.lang.Object
-
- java.lang.Enum<MultiIndexProgrammerFacade.ProgState>
-
- jmri.implementation.MultiIndexProgrammerFacade.ProgState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MultiIndexProgrammerFacade.ProgState>
- Enclosing class:
- MultiIndexProgrammerFacade
static enum MultiIndexProgrammerFacade.ProgState extends java.lang.Enum<MultiIndexProgrammerFacade.ProgState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FINISHCONFIRM
Waiting for response to first or second index write before a final confirm operationFINISHREAD
Waiting for response to first or second index write before a final read operationFINISHWRITE
Waiting for response to first or second index write before a final write operationNOTPROGRAMMING
No current operationPROGRAMMING
Waiting for response to (final) read or write operation, final reply next
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MultiIndexProgrammerFacade.ProgState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MultiIndexProgrammerFacade.ProgState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROGRAMMING
public static final MultiIndexProgrammerFacade.ProgState PROGRAMMING
Waiting for response to (final) read or write operation, final reply next
-
FINISHREAD
public static final MultiIndexProgrammerFacade.ProgState FINISHREAD
Waiting for response to first or second index write before a final read operation
-
FINISHWRITE
public static final MultiIndexProgrammerFacade.ProgState FINISHWRITE
Waiting for response to first or second index write before a final write operation
-
FINISHCONFIRM
public static final MultiIndexProgrammerFacade.ProgState FINISHCONFIRM
Waiting for response to first or second index write before a final confirm operation
-
NOTPROGRAMMING
public static final MultiIndexProgrammerFacade.ProgState NOTPROGRAMMING
No current operation
-
-
Method Detail
-
values
public static MultiIndexProgrammerFacade.ProgState[] 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 (MultiIndexProgrammerFacade.ProgState c : MultiIndexProgrammerFacade.ProgState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MultiIndexProgrammerFacade.ProgState 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
-
-