Package jmri.jmrix.loconet.duplexgroup
Enum DuplexGroupMessageType
- java.lang.Object
-
- java.lang.Enum<DuplexGroupMessageType>
-
- jmri.jmrix.loconet.duplexgroup.DuplexGroupMessageType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DuplexGroupMessageType>
public enum DuplexGroupMessageType extends java.lang.Enum<DuplexGroupMessageType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DuplexGroupMessageType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DuplexGroupMessageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_A_DUPLEX_GROUP_MESSAGE
public static final DuplexGroupMessageType NOT_A_DUPLEX_GROUP_MESSAGE
-
DUPLEX_GROUP_NAME_ETC_REPORT_MESSAGE
public static final DuplexGroupMessageType DUPLEX_GROUP_NAME_ETC_REPORT_MESSAGE
-
DUPLEX_GROUP_NAME_QUERY_MESSAGE
public static final DuplexGroupMessageType DUPLEX_GROUP_NAME_QUERY_MESSAGE
-
DUPLEX_GROUP_NAME_WRITE_MESSAGE
public static final DuplexGroupMessageType DUPLEX_GROUP_NAME_WRITE_MESSAGE
-
DUPLEX_GROUP_PASSWORD_REPORT_MESSAGE
public static final DuplexGroupMessageType DUPLEX_GROUP_PASSWORD_REPORT_MESSAGE
-
DUPLEX_GROUP_PASSWORD_QUERY_MESSAGE
public static final DuplexGroupMessageType DUPLEX_GROUP_PASSWORD_QUERY_MESSAGE
-
DUPLEX_GROUP_PASSWORD_WRITE_MESSAGE
public static final DuplexGroupMessageType DUPLEX_GROUP_PASSWORD_WRITE_MESSAGE
-
DUPLEX_GROUP_CHANNEL_REPORT_MESSAGE
public static final DuplexGroupMessageType DUPLEX_GROUP_CHANNEL_REPORT_MESSAGE
-
DUPLEX_GROUP_CHANNEL_QUERY_MESSAGE
public static final DuplexGroupMessageType DUPLEX_GROUP_CHANNEL_QUERY_MESSAGE
-
DUPLEX_GROUP_CHANNEL_WRITE_MESSAGE
public static final DuplexGroupMessageType DUPLEX_GROUP_CHANNEL_WRITE_MESSAGE
-
DUPLEX_GROUP_ID_REPORT_MESSAGE
public static final DuplexGroupMessageType DUPLEX_GROUP_ID_REPORT_MESSAGE
-
DUPLEX_GROUP_ID_QUERY_MESSAGE
public static final DuplexGroupMessageType DUPLEX_GROUP_ID_QUERY_MESSAGE
-
DUPLEX_GROUP_ID_WRITE_MESSAGE
public static final DuplexGroupMessageType DUPLEX_GROUP_ID_WRITE_MESSAGE
-
-
Method Detail
-
values
public static DuplexGroupMessageType[] 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 (DuplexGroupMessageType c : DuplexGroupMessageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DuplexGroupMessageType 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
-
-