org.eclipse.stardust.engine.api.model
Enum Activity.GatewayType

java.lang.Object
  extended by java.lang.Enum<Activity.GatewayType>
      extended by org.eclipse.stardust.engine.api.model.Activity.GatewayType
All Implemented Interfaces:
Serializable, Comparable<Activity.GatewayType>
Enclosing interface:
Activity

public static enum Activity.GatewayType
extends Enum<Activity.GatewayType>

Enumeration of gateway types.


Enum Constant Summary
And
          AND gateway, meaning that the activity will be executed only after all incomming transitions have been followed.
Or
          OR gateway (inclusive), meaning that the activity will be executed only after all possible incomming transitions have been followed.
Xor
          XOR gateway (exclusive), meaning that the activity will be executed for each incomming transition.
 
Method Summary
static Activity.GatewayType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Activity.GatewayType[] 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

And

public static final Activity.GatewayType And
AND gateway, meaning that the activity will be executed only after all incomming transitions have been followed. After completion of the activity, all outgoing transitions will be followed.


Or

public static final Activity.GatewayType Or
OR gateway (inclusive), meaning that the activity will be executed only after all possible incomming transitions have been followed. After completion of the activity, all outgoing transitions having conditions that evaluates to true will be followed.


Xor

public static final Activity.GatewayType Xor
XOR gateway (exclusive), meaning that the activity will be executed for each incomming transition. After completion of the activity, first outgoing transition having condition that evaluates to true will be followed.

Method Detail

values

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

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

valueOf

public static Activity.GatewayType 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.