Package org.jeyzer.demo.event.codes
Enum MyApplicationEventCode
- java.lang.Object
-
- java.lang.Enum<MyApplicationEventCode>
-
- org.jeyzer.demo.event.codes.MyApplicationEventCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MyApplicationEventCode>,org.jeyzer.mx.event.JzrEventCode
public enum MyApplicationEventCode extends java.lang.Enum<MyApplicationEventCode> implements org.jeyzer.mx.event.JzrEventCode
MyApplicationEventCode defines all the high level applicative event codes
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MCY_MYA_01Service event code.MCY_MYA_02Service shutdown event code.MCY_MYA_10Activity event code.MCY_MYA_11Activity cancel event code.MCY_MYA_12Activity critical error event code.MCY_MYA_13Activity critical error event code.MCY_MYA_20Connectivity lost event code.MCY_MYA_21Connectivity recovery event code.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERVICE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAbbreviation()java.lang.StringgetDescription()org.jeyzer.mx.event.JzrEventLevelgetLevel()java.lang.StringgetName()org.jeyzer.mx.event.JzrEventSubLevelgetSubLevel()java.lang.StringgetTicket()java.lang.StringgetType()static MyApplicationEventCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MyApplicationEventCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MCY_MYA_01
public static final MyApplicationEventCode MCY_MYA_01
Service event code.
-
MCY_MYA_02
public static final MyApplicationEventCode MCY_MYA_02
Service shutdown event code.
-
MCY_MYA_10
public static final MyApplicationEventCode MCY_MYA_10
Activity event code.
-
MCY_MYA_11
public static final MyApplicationEventCode MCY_MYA_11
Activity cancel event code.
-
MCY_MYA_12
public static final MyApplicationEventCode MCY_MYA_12
Activity critical error event code.
-
MCY_MYA_13
public static final MyApplicationEventCode MCY_MYA_13
Activity critical error event code.
-
MCY_MYA_20
public static final MyApplicationEventCode MCY_MYA_20
Connectivity lost event code.
-
MCY_MYA_21
public static final MyApplicationEventCode MCY_MYA_21
Connectivity recovery event code.
-
-
Field Detail
-
SERVICE
public static final java.lang.String SERVICE
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static MyApplicationEventCode[] 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 (MyApplicationEventCode c : MyApplicationEventCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MyApplicationEventCode 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
-
getType
public java.lang.String getType()
- Specified by:
getTypein interfaceorg.jeyzer.mx.event.JzrEventCode
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceorg.jeyzer.mx.event.JzrEventCode
-
getAbbreviation
public java.lang.String getAbbreviation()
- Specified by:
getAbbreviationin interfaceorg.jeyzer.mx.event.JzrEventCode
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceorg.jeyzer.mx.event.JzrEventCode
-
getTicket
public java.lang.String getTicket()
- Specified by:
getTicketin interfaceorg.jeyzer.mx.event.JzrEventCode
-
getLevel
public org.jeyzer.mx.event.JzrEventLevel getLevel()
- Specified by:
getLevelin interfaceorg.jeyzer.mx.event.JzrEventCode
-
getSubLevel
public org.jeyzer.mx.event.JzrEventSubLevel getSubLevel()
- Specified by:
getSubLevelin interfaceorg.jeyzer.mx.event.JzrEventCode
-
-