Class ActivationTypeEnum

java.lang.Object
org.kuali.rice.kew.engine.node.ActivationTypeEnum
All Implemented Interfaces:
Coded

public final class ActivationTypeEnum extends Object implements Coded
Activation Type enum type which defines the two types of activation within the engine. Sequential activation means that only a single request on a node will get activated at a time. Parallel activation means that all requests on a node will be activated.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Field Details

    • SEQUENTIAL

      public static final ActivationTypeEnum SEQUENTIAL
      Routing should process the associated ActionRequests in sequence
    • PARALLEL

      public static final ActivationTypeEnum PARALLEL
      Routing should process the associated ActionRequests in parallel
    • PRIORITY_PARALLEL

      public static final ActivationTypeEnum PRIORITY_PARALLEL
      Routing should process the associated ActionRequests in parallel according to priority
  • Method Details

    • getCode

      public String getCode()
      Specified by:
      getCode in interface Coded
    • getName

      public String getName()
    • getLabel

      public String getLabel()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • lookupCode

      public static ActivationTypeEnum lookupCode(String code)
      Parses the code verbatim and returns the enum type that matches that code exactly
      Parameters:
      code - the activation type code
      Returns:
      the enum type
      Throws:
      IllegalArgumentException - if code is null, or invalid
    • parse

      public static ActivationTypeEnum parse(String string)
      Parses the string and returns the enum type whose code, name, or label matches the string regardless of case
      Parameters:
      string - the activation type string
      Returns:
      the enum type
      Throws:
      IllegalArgumentException - if string is null, or invalid