org.eclipse.stardust.engine.api.dto
Enum ProcessDefinitionDetailsLevel

java.lang.Object
  extended by java.lang.Enum<ProcessDefinitionDetailsLevel>
      extended by org.eclipse.stardust.engine.api.dto.ProcessDefinitionDetailsLevel
All Implemented Interfaces:
Serializable, Comparable<ProcessDefinitionDetailsLevel>

public enum ProcessDefinitionDetailsLevel
extends Enum<ProcessDefinitionDetailsLevel>

Represents the level of detail in which the ProcessDefinition object is initialized.

The declared and implemented ProcessInterface is always contained.


Enum Constant Summary
CORE
          Contains no Activities, DataPaths, Triggers and EventHandlers.
FULL
          Contains Activities, DataPaths, Triggers and EventHandlers.
WITHOUT_ACTIVITIES
          Contains no Activities but contains DataPaths, Triggers and EventHandlers.
 
Method Summary
static ProcessDefinitionDetailsLevel valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ProcessDefinitionDetailsLevel[] 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

CORE

public static final ProcessDefinitionDetailsLevel CORE
Contains no Activities, DataPaths, Triggers and EventHandlers.


WITHOUT_ACTIVITIES

public static final ProcessDefinitionDetailsLevel WITHOUT_ACTIVITIES
Contains no Activities but contains DataPaths, Triggers and EventHandlers.


FULL

public static final ProcessDefinitionDetailsLevel FULL
Contains Activities, DataPaths, Triggers and EventHandlers.

Method Detail

values

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

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

valueOf

public static ProcessDefinitionDetailsLevel 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


Copyright © 2017 Eclipse Stardust. All Rights Reserved.