public abstract class Step extends Object
| Constructor and Description |
|---|
Step() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getSucceeds()
This method returns whether the action should succeed.
|
Step |
setSucceeds(boolean succeeds)
This method sets the 'to' roles.
|
abstract boolean |
simulate(SimulatorContext context,
Map<String,RoleSimulator> roleSimulators)
This method simulates the step against the supplied
role simulators, taking into account whether the step
is expected to succeed.
|
public boolean getSucceeds()
public Step setSucceeds(boolean succeeds)
roles - The 'to' rolespublic abstract boolean simulate(SimulatorContext context, Map<String,RoleSimulator> roleSimulators)
context - The contextroleSimulators - The role simulatorsCopyright © 2014. All Rights Reserved.