Enum TopicEventType
- java.lang.Object
-
- java.lang.Enum<TopicEventType>
-
- br.pucrio.tecgraf.soma.logsmonitor.model.TopicEventType
-
- All Implemented Interfaces:
Serializable,Comparable<TopicEventType>
public enum TopicEventType extends Enum<TopicEventType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JOBLOGSEVENT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TopicEventTypefromValue(String value)StringgetValue()StringtoString()static TopicEventTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TopicEventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JOBLOGSEVENT
public static final TopicEventType JOBLOGSEVENT
-
-
Method Detail
-
values
public static TopicEventType[] 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 (TopicEventType c : TopicEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TopicEventType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromValue
public static TopicEventType fromValue(String value)
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<TopicEventType>
-
-