public class StateSteps
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
StateSteps.CheckConstruct |
Constructor and Description |
---|
StateSteps(Stateful stateful) |
Modifier and Type | Method and Description |
---|---|
void |
checkNow() |
void |
checkWait() |
static StateSteps.CheckConstruct |
definitely(State ready) |
long |
getTimeout() |
static StateSteps.CheckConstruct |
maybe(State ready) |
void |
setTimeout(long timeout) |
void |
startCheck(State... steps) |
void |
startCheck(StateCondition... steps) |
void |
startCheck(org.oddjob.tools.StateSteps.Check check) |
void |
startCheck(StateSteps.CheckConstruct... constructs) |
public StateSteps(Stateful stateful)
public static StateSteps.CheckConstruct definitely(State ready)
public static StateSteps.CheckConstruct maybe(State ready)
public void startCheck(StateSteps.CheckConstruct... constructs)
public void startCheck(State... steps)
public void startCheck(StateCondition... steps)
public void startCheck(org.oddjob.tools.StateSteps.Check check)
public void checkNow()
public void checkWait() throws java.lang.InterruptedException
java.lang.InterruptedException
public long getTimeout()
public void setTimeout(long timeout)