PTP
Release 5.0

org.eclipse.ptp.remote.core.server
Enum AbstractRemoteServerRunner.ServerState

java.lang.Object
  extended by java.lang.Enum<AbstractRemoteServerRunner.ServerState>
      extended by 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>


Enum Constant Summary
RUNNING
           
STARTING
           
STOPPED
           
 
Method Summary
static AbstractRemoteServerRunner.ServerState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AbstractRemoteServerRunner.ServerState[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STOPPED

public static final AbstractRemoteServerRunner.ServerState STOPPED
Since:
5.0

STARTING

public static final AbstractRemoteServerRunner.ServerState STARTING

RUNNING

public static final AbstractRemoteServerRunner.ServerState RUNNING
Method Detail

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

PTP
Release 5.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.