public class StartStopState extends State
| Modifier and Type | Field and Description |
|---|---|
static int |
FAILED |
static int |
STARTED |
static int |
STOPPED |
| Constructor and Description |
|---|
StartStopState(int initial)
Creates a new StartStopState object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValidState(int state) |
breakWaiting, getValue, setValue, waitForState, waitForState, waitForStateUpdatepublic static final int STARTED
public static final int STOPPED
public static final int FAILED
public StartStopState(int initial)
initial - public boolean isValidState(int state)
isValidState in class Statestate - Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.