Package jmri.implementation
Enum AddressedHighCvProgrammerFacade.ProgState
- java.lang.Object
-
- java.lang.Enum<AddressedHighCvProgrammerFacade.ProgState>
-
- jmri.implementation.AddressedHighCvProgrammerFacade.ProgState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AddressedHighCvProgrammerFacade.ProgState>
- Enclosing class:
- AddressedHighCvProgrammerFacade
static enum AddressedHighCvProgrammerFacade.ProgState extends java.lang.Enum<AddressedHighCvProgrammerFacade.ProgState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FINISHREAD
Wrote 2nd index on a read operation, waiting for replyFINISHWRITE
Wrote 2nd index on a write operation, waiting for replyNOTPROGRAMMING
nothing happening, no reply expectedPROGRAMMING
A pass-through operation, waiting reply, when done the entire operation is doneWRITELOWREAD
Wrote 1st index on a read operation, waiting for replyWRITELOWWRITE
Wrote 1st index on a write operation, waiting for reply
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AddressedHighCvProgrammerFacade.ProgState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AddressedHighCvProgrammerFacade.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 AddressedHighCvProgrammerFacade.ProgState PROGRAMMING
A pass-through operation, waiting reply, when done the entire operation is done
-
WRITELOWREAD
public static final AddressedHighCvProgrammerFacade.ProgState WRITELOWREAD
Wrote 1st index on a read operation, waiting for reply
-
WRITELOWWRITE
public static final AddressedHighCvProgrammerFacade.ProgState WRITELOWWRITE
Wrote 1st index on a write operation, waiting for reply
-
FINISHREAD
public static final AddressedHighCvProgrammerFacade.ProgState FINISHREAD
Wrote 2nd index on a read operation, waiting for reply
-
FINISHWRITE
public static final AddressedHighCvProgrammerFacade.ProgState FINISHWRITE
Wrote 2nd index on a write operation, waiting for reply
-
NOTPROGRAMMING
public static final AddressedHighCvProgrammerFacade.ProgState NOTPROGRAMMING
nothing happening, no reply expected
-
-
Method Detail
-
values
public static AddressedHighCvProgrammerFacade.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 (AddressedHighCvProgrammerFacade.ProgState c : AddressedHighCvProgrammerFacade.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 AddressedHighCvProgrammerFacade.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
-
-