com.sshtools.j2ssh.util
public class: StartStopState [javadoc |
source]
java.lang.Object
com.sshtools.j2ssh.util.State
com.sshtools.j2ssh.util.StartStopState
All Implemented Interfaces:
Serializable
- author:
$ - author$
- version:
$ - Revision: 1.15 $
| Field Summary |
|---|
| public static final int | STARTED | |
| public static final int | STOPPED | |
| public static final int | FAILED | |
| Method from com.sshtools.j2ssh.util.StartStopState Summary: |
|---|
|
isValidState |
| Method from com.sshtools.j2ssh.util.StartStopState Detail: |
public boolean isValidState(int state) {
return (state == STARTED) || (state == STOPPED) || (state == FAILED);
}
|