org.eclipse.stardust.engine.api.runtime
Class TransitionOptions

java.lang.Object
  extended by org.eclipse.stardust.engine.api.runtime.TransitionOptions
All Implemented Interfaces:
Serializable

public final class TransitionOptions
extends Object
implements Serializable

Specifies options for searching possible targets for relocation transitions.

Version:
$Revision: $
Author:
Florin.Herinean
See Also:
Serialized Form

Field Summary
static TransitionOptions DEFAULT
          Default options that limits the search to the process definition of the specified activity instance.
static TransitionOptions FULL
          Full options that allows relocation transitions inside sub processes and out of them.
 
Constructor Summary
TransitionOptions(boolean allowTransitionOutOfSubprocesses, boolean allowTransitionIntoSubprocesses, boolean allowLoops)
          Constructs a new instance of transition options.
TransitionOptions(boolean allowTransitionOutOfSubprocesses, boolean allowTransitionIntoSubprocesses, boolean allowLoops, String processIdPattern, String activityIdPattern)
          Constructs a new instance of transition options.
 
Method Summary
 boolean areLoopsAllowed()
          Checks if loops should be allowed while traversing AND joins/splits.
 String getActivityIdPattern()
          Retrieves the regular expression pattern for matching activity ids.
 String getProcessIdPattern()
          Retrieves the regular expression pattern for matching process definition ids.
 boolean isTransitionIntoSubprocessesAllowed()
          Checks if transitions into sub processes should be allowed.
 boolean isTransitionOutOfSubprocessesAllowed()
          Checks if transitions out of the sub process should be allowed.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final TransitionOptions DEFAULT
Default options that limits the search to the process definition of the specified activity instance.


FULL

public static final TransitionOptions FULL
Full options that allows relocation transitions inside sub processes and out of them.

Constructor Detail

TransitionOptions

public TransitionOptions(boolean allowTransitionOutOfSubprocesses,
                         boolean allowTransitionIntoSubprocesses,
                         boolean allowLoops)
Constructs a new instance of transition options.

Parameters:
allowTransitionOutOfSubprocesses - specifies that transitions out of the sub process should be allowed.
allowTransitionIntoSubprocesses - specifies that transitions into sub process should be allowed.
allowLoops - specifies that loops should be allowed.

TransitionOptions

public TransitionOptions(boolean allowTransitionOutOfSubprocesses,
                         boolean allowTransitionIntoSubprocesses,
                         boolean allowLoops,
                         String processIdPattern,
                         String activityIdPattern)
Constructs a new instance of transition options.

Parameters:
allowTransitionOutOfSubprocesses - specifies that transitions out of the sub process should be allowed.
allowTransitionIntoSubprocesses - specifies that transitions into sub process should be allowed.
allowLoops - specifies that loops should be allowed.
processIdPattern - regex expression to match process definition ids.
activityIdPattern - regex expression to match activity ids.
Method Detail

isTransitionOutOfSubprocessesAllowed

public boolean isTransitionOutOfSubprocessesAllowed()
Checks if transitions out of the sub process should be allowed.


isTransitionIntoSubprocessesAllowed

public boolean isTransitionIntoSubprocessesAllowed()
Checks if transitions into sub processes should be allowed.


areLoopsAllowed

public boolean areLoopsAllowed()
Checks if loops should be allowed while traversing AND joins/splits. If true, then loops detected inside AND blocks are silently ignored, otherwise the traversal of AND blocks is immediately stopped.


getProcessIdPattern

public String getProcessIdPattern()
Retrieves the regular expression pattern for matching process definition ids.


getActivityIdPattern

public String getActivityIdPattern()
Retrieves the regular expression pattern for matching activity ids.



Copyright © 2017 Eclipse Stardust. All Rights Reserved.