public final class TransitionOptions extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final TransitionOptions DEFAULT
public static final TransitionOptions FULL
public TransitionOptions(boolean allowTransitionOutOfSubprocesses,
boolean allowTransitionIntoSubprocesses,
boolean allowLoops)
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.public TransitionOptions(boolean allowTransitionOutOfSubprocesses,
boolean allowTransitionIntoSubprocesses,
boolean allowLoops,
String processIdPattern,
String activityIdPattern)
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.public boolean isTransitionOutOfSubprocessesAllowed()
public boolean isTransitionIntoSubprocessesAllowed()
public boolean areLoopsAllowed()
public String getProcessIdPattern()
public String getActivityIdPattern()
Copyright © 2016 Eclipse Stardust. All Rights Reserved.