eu.larkc.core.pluginManager
Enum PluginManager.Message

java.lang.Object
  extended by java.lang.Enum<PluginManager.Message>
      extended by eu.larkc.core.pluginManager.PluginManager.Message
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PluginManager.Message>
Enclosing interface:
PluginManager

public static enum PluginManager.Message
extends java.lang.Enum<PluginManager.Message>

This enumeraton contains the set of messages that can be send to a given PluginManger from another PluginManger.


Enum Constant Summary
NEXT
          This messages instructs a PluginManger to provide the next piece of output for the next plugin in the pipeline
STOP
          This message instructs a PluginManager to stop producing output for the next plugin in the pipeline
 
Method Summary
static PluginManager.Message valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PluginManager.Message[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NEXT

public static final PluginManager.Message NEXT
This messages instructs a PluginManger to provide the next piece of output for the next plugin in the pipeline


STOP

public static final PluginManager.Message STOP
This message instructs a PluginManager to stop producing output for the next plugin in the pipeline

Method Detail

values

public static PluginManager.Message[] 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 (PluginManager.Message c : PluginManager.Message.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PluginManager.Message 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 name
java.lang.NullPointerException - if the argument is null