com.jbbres.lib.actions.workflow
Enum AbstractWorkflowDefinitionNotification.MessageType

java.lang.Object
  extended by java.lang.Enum<AbstractWorkflowDefinitionNotification.MessageType>
      extended by com.jbbres.lib.actions.workflow.AbstractWorkflowDefinitionNotification.MessageType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AbstractWorkflowDefinitionNotification.MessageType>
Enclosing class:
AbstractWorkflowDefinitionNotification

public static enum AbstractWorkflowDefinitionNotification.MessageType
extends java.lang.Enum<AbstractWorkflowDefinitionNotification.MessageType>

The type of notification message. Different types display different message icons.


Enum Constant Summary
ERROR_MESSAGE
          An error message.
INFORMATION_MESSAGE
          An information message
PLAIN_MESSAGE
          A default message.
SUGGESTION_MESSAGE
          A suggestion message.
WARNING_MESSAGE
          A warning message.
 
Method Summary
static AbstractWorkflowDefinitionNotification.MessageType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AbstractWorkflowDefinitionNotification.MessageType[] 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

INFORMATION_MESSAGE

public static final AbstractWorkflowDefinitionNotification.MessageType INFORMATION_MESSAGE
An information message


ERROR_MESSAGE

public static final AbstractWorkflowDefinitionNotification.MessageType ERROR_MESSAGE
An error message.


WARNING_MESSAGE

public static final AbstractWorkflowDefinitionNotification.MessageType WARNING_MESSAGE
A warning message.


SUGGESTION_MESSAGE

public static final AbstractWorkflowDefinitionNotification.MessageType SUGGESTION_MESSAGE
A suggestion message.


PLAIN_MESSAGE

public static final AbstractWorkflowDefinitionNotification.MessageType PLAIN_MESSAGE
A default message. Use this type if you want to display your own icon or no icon.

Method Detail

values

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

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

valueOf

public static AbstractWorkflowDefinitionNotification.MessageType 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


To file bugs or suggest feature enhancements, visit the app.jbbres.com Bug Reporter website.

Additional documentation available online at http://app.jbbres.com/actions/developers.

Copyright � 2009-2011 app.jbbres.com. All Rights Reserved.