Package oms3
Enum Notification.Type
- java.lang.Object
-
- java.lang.Enum<Notification.Type>
-
- oms3.Notification.Type
-
- All Implemented Interfaces:
Serializable,Comparable<Notification.Type>
- Enclosing class:
- Notification
public static enum Notification.Type extends Enum<Notification.Type>
Notification Types. Thoes values classify an event object.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXCEPTIONException was thrown by a componentEXECUTINGA component is about to be executed.FINISHEDA component is done with executionINA components @In field is receiving a valueOUTA components @Out field is providing a valueWAITINGExecution waiting here for all @In to arrive
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Notification.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Notification.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WAITING
public static final Notification.Type WAITING
Execution waiting here for all @In to arrive- See Also:
Notification.ComponentEvent
-
EXECUTING
public static final Notification.Type EXECUTING
A component is about to be executed.- See Also:
Notification.ComponentEvent
-
FINISHED
public static final Notification.Type FINISHED
A component is done with execution- See Also:
Notification.ComponentEvent
-
IN
public static final Notification.Type IN
A components @In field is receiving a value- See Also:
Notification.ComponentEvent
-
OUT
public static final Notification.Type OUT
A components @Out field is providing a value- See Also:
Notification.ConnectEvent
-
EXCEPTION
public static final Notification.Type EXCEPTION
Exception was thrown by a component- See Also:
Notification.ConnectEvent
-
-
Method Detail
-
values
public static Notification.Type[] 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 (Notification.Type c : Notification.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Notification.Type 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
-
-