org.eclipse.ptp.remote.core.server
Enum AbstractRemoteServerRunner.ServerState
java.lang.Object
java.lang.Enum<AbstractRemoteServerRunner.ServerState>
org.eclipse.ptp.remote.core.server.AbstractRemoteServerRunner.ServerState
- All Implemented Interfaces:
- Serializable, Comparable<AbstractRemoteServerRunner.ServerState>
- Enclosing class:
- AbstractRemoteServerRunner
public static enum AbstractRemoteServerRunner.ServerState
- extends Enum<AbstractRemoteServerRunner.ServerState>
STOPPED
public static final AbstractRemoteServerRunner.ServerState STOPPED
- Since:
- 5.0
STARTING
public static final AbstractRemoteServerRunner.ServerState STARTING
RUNNING
public static final AbstractRemoteServerRunner.ServerState RUNNING
values
public static final AbstractRemoteServerRunner.ServerState[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(AbstractRemoteServerRunner.ServerState c : AbstractRemoteServerRunner.ServerState.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static AbstractRemoteServerRunner.ServerState valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.