public interface WaspAction
Action
with added logic for implies
checks. These actions are instantiated by an ActionFactory
.Action
Modifier and Type | Method and Description |
---|---|
WaspAction |
add(WaspAction other)
Creates a new WaspAction containing both the specified actions and the actions of this
WaspAction.
|
ActionFactory |
getActionFactory()
The actionFactory that created this action.
|
String |
getName() |
boolean |
implies(WaspAction other)
Check if the supplied action is implied by this WaspAction.
|
WaspAction |
remove(WaspAction action)
Creates a new WaspAction with all the actions of this action except those specified.
|
String getName()
Action.getName()
boolean implies(WaspAction other)
other
- the action to checkWaspAction add(WaspAction other)
other
- the actions to addWaspAction remove(WaspAction action)
action
- the actions to removeActionFactory getActionFactory()
Copyright © 2015. All rights reserved.