Package org.jeyzer.mx.event
Enum JzrPublisherEventCode
- java.lang.Object
-
- java.lang.Enum<JzrPublisherEventCode>
-
- org.jeyzer.mx.event.JzrPublisherEventCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<JzrPublisherEventCode>
public enum JzrPublisherEventCode extends java.lang.Enum<JzrPublisherEventCode>
JzrPublisherEventCode defines all the Publisher events codes.
Publisher events code is associated with a message (description and recommendation), a level and a sub-level.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JZR_PUB_001Jeyzer Publisher is disabled : applicative events and data will not be made available to the Jeyzer Recorder.JZR_PUB_002Jeyzer Publisher is active : applicative events and data are collected.JZR_PUB_003Jeyzer recording collection.JZR_PUB_101Applicative critical event list full.JZR_PUB_102Applicative critical event collection suspended at initialization time.JZR_PUB_103Applicative critical event collection suspended at runtime.JZR_PUB_104Applicative critical event collection resumed.JZR_PUB_201Applicative warning event list full.JZR_PUB_202Applicative warning event collection suspended at initialization time.JZR_PUB_203Applicative warning event collection suspended at runtime.JZR_PUB_204Applicative warning event collection resumed.JZR_PUB_301Applicative info event list full.JZR_PUB_302Applicative info event collection suspended at initialization time.JZR_PUB_303Applicative info event collection suspended at runtime.JZR_PUB_304Applicative info event collection resumed.JZR_PUB_502Applicative data collection suspended at initialization time.JZR_PUB_503Applicative data collection suspended.JZR_PUB_504Applicative data collection resumed.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Get the publisher event descriptionjava.lang.StringgetDescription(java.lang.String tokenValue)Get the publisher event description, replacing any token in the description with thetokenValueparameterjava.lang.StringgetDisplayValue()Get the publisher event code nameJzrEventLevelgetLevel()Get the publisher event levelJzrEventSubLevelgetSubLevel()Get the publisher event sub levelstatic JzrPublisherEventCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static JzrPublisherEventCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JZR_PUB_001
public static final JzrPublisherEventCode JZR_PUB_001
Jeyzer Publisher is disabled : applicative events and data will not be made available to the Jeyzer Recorder. Set thejeyzer.publisher.activesystem property to true to activate it. Requires applicative restart.
-
JZR_PUB_002
public static final JzrPublisherEventCode JZR_PUB_002
Jeyzer Publisher is active : applicative events and data are collected. Set thejeyzer.publisher.activesystem property to false to disable it. Requires applicative restart.
-
JZR_PUB_003
public static final JzrPublisherEventCode JZR_PUB_003
Jeyzer recording collection.
-
JZR_PUB_101
public static final JzrPublisherEventCode JZR_PUB_101
Applicative critical event list full. Oldest critical events may be lost. Increase theevents.critical.limitinit property to accept more events or review the applicative critical event generation to reduce it.
-
JZR_PUB_102
public static final JzrPublisherEventCode JZR_PUB_102
Applicative critical event collection suspended at initialization time.
-
JZR_PUB_103
public static final JzrPublisherEventCode JZR_PUB_103
Applicative critical event collection suspended at runtime.
-
JZR_PUB_104
public static final JzrPublisherEventCode JZR_PUB_104
Applicative critical event collection resumed.
-
JZR_PUB_201
public static final JzrPublisherEventCode JZR_PUB_201
Applicative warning event list full. Oldest warning events may be lost. Increase theevents.warning.limitinit property to accept more events or review the applicative warning event generation to reduce it.
-
JZR_PUB_202
public static final JzrPublisherEventCode JZR_PUB_202
Applicative warning event collection suspended at initialization time.
-
JZR_PUB_203
public static final JzrPublisherEventCode JZR_PUB_203
Applicative warning event collection suspended at runtime.
-
JZR_PUB_204
public static final JzrPublisherEventCode JZR_PUB_204
Applicative warning event collection resumed.
-
JZR_PUB_301
public static final JzrPublisherEventCode JZR_PUB_301
Applicative info event list full. Oldest info events may be lost. Increase theevents.info.limitinit property to accept more events or review the applicative info event generation to reduce it.
-
JZR_PUB_302
public static final JzrPublisherEventCode JZR_PUB_302
Applicative info event collection suspended at initialization time.
-
JZR_PUB_303
public static final JzrPublisherEventCode JZR_PUB_303
Applicative info event collection suspended at runtime.
-
JZR_PUB_304
public static final JzrPublisherEventCode JZR_PUB_304
Applicative info event collection resumed.
-
JZR_PUB_502
public static final JzrPublisherEventCode JZR_PUB_502
Applicative data collection suspended at initialization time.
-
JZR_PUB_503
public static final JzrPublisherEventCode JZR_PUB_503
Applicative data collection suspended.
-
JZR_PUB_504
public static final JzrPublisherEventCode JZR_PUB_504
Applicative data collection resumed.
-
-
Method Detail
-
values
public static JzrPublisherEventCode[] 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 (JzrPublisherEventCode c : JzrPublisherEventCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JzrPublisherEventCode 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
-
getDisplayValue
public java.lang.String getDisplayValue()
Get the publisher event code name- Returns:
- the publisher event code name
-
getLevel
public JzrEventLevel getLevel()
Get the publisher event level- Returns:
- the publisher event code level
-
getSubLevel
public JzrEventSubLevel getSubLevel()
Get the publisher event sub level- Returns:
- the publisher event sub level
-
getDescription
public java.lang.String getDescription()
Get the publisher event description- Returns:
- the publisher event description
-
getDescription
public java.lang.String getDescription(java.lang.String tokenValue)
Get the publisher event description, replacing any token in the description with thetokenValueparameter- Parameters:
tokenValue- the token value to inject in the description- Returns:
- the resulting publisher event description
-
-