Package org.guvnor.messageconsole.events
Enum PublishBaseEvent.Place
- java.lang.Object
-
- java.lang.Enum<PublishBaseEvent.Place>
-
- org.guvnor.messageconsole.events.PublishBaseEvent.Place
-
- All Implemented Interfaces:
Serializable,Comparable<PublishBaseEvent.Place>
- Enclosing class:
- PublishBaseEvent
@Portable public static enum PublishBaseEvent.Place extends Enum<PublishBaseEvent.Place>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PublishBaseEvent.PlacevalueOf(String name)Returns the enum constant of this type with the specified name.static PublishBaseEvent.Place[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOP
public static final PublishBaseEvent.Place TOP
-
END
public static final PublishBaseEvent.Place END
-
-
Method Detail
-
values
public static PublishBaseEvent.Place[] 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 (PublishBaseEvent.Place c : PublishBaseEvent.Place.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PublishBaseEvent.Place 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
-
-