| Constructor and Description |
|---|
SwitchTask(java.lang.String id,
TransitionMatcher[] onMatchers,
TransitionMatcher[] offMatchers)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isOn() |
boolean |
matches(Transition transition)
Checks if given
transition matches to any of
matchers. |
public SwitchTask(java.lang.String id,
TransitionMatcher[] onMatchers,
TransitionMatcher[] offMatchers)
id - task idonMatchers - matchers for switching on; none null; none emptyoffMatchers - matchers for switching off; none null; none emptypublic boolean matches(Transition transition)
Tasktransition matches to any of
matchers.protected final boolean isOn()
Copyright © 2011. All Rights Reserved.