org.kuali.rice.krms.impl.peopleflow
Enum PeopleFlowActionTypeService.Type

java.lang.Object
  extended by java.lang.Enum<PeopleFlowActionTypeService.Type>
      extended by org.kuali.rice.krms.impl.peopleflow.PeopleFlowActionTypeService.Type
All Implemented Interfaces:
Serializable, Comparable<PeopleFlowActionTypeService.Type>
Enclosing class:
PeopleFlowActionTypeService

public static enum PeopleFlowActionTypeService.Type
extends Enum<PeopleFlowActionTypeService.Type>

enum used to specify the action type to be specified in the vended actions.


Enum Constant Summary
APPROVAL
          use this flag with the static factory to get a PeopleFlowActionTypeService that creates approval actions.
NOTIFICATION
          use this flag with the static factory to get a PeopleFlowActionTypeService that creates notification actions.
 
Method Summary
static PeopleFlowActionTypeService.Type fromString(String s)
          for each type, check the input with the lowercase version of the type name, and returns any match.
 ActionRequestType getActionRequestType()
           
 String toString()
           
static PeopleFlowActionTypeService.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PeopleFlowActionTypeService.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOTIFICATION

public static final PeopleFlowActionTypeService.Type NOTIFICATION
use this flag with the static factory to get a PeopleFlowActionTypeService that creates notification actions.


APPROVAL

public static final PeopleFlowActionTypeService.Type APPROVAL
use this flag with the static factory to get a PeopleFlowActionTypeService that creates approval actions.

Method Detail

values

public static PeopleFlowActionTypeService.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 (PeopleFlowActionTypeService.Type c : PeopleFlowActionTypeService.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 PeopleFlowActionTypeService.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 name
NullPointerException - if the argument is null

toString

public String toString()
Overrides:
toString in class Enum<PeopleFlowActionTypeService.Type>

getActionRequestType

public ActionRequestType getActionRequestType()
Returns:
ActionRequestType

fromString

public static PeopleFlowActionTypeService.Type fromString(String s)
for each type, check the input with the lowercase version of the type name, and returns any match.

Parameters:
s - the type to retrieve
Returns:
the type, or null if a match is not found.


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.