com.android.ddmlib
Enum ClientData.DebuggerStatus

java.lang.Object
  extended by java.lang.Enum<ClientData.DebuggerStatus>
      extended by com.android.ddmlib.ClientData.DebuggerStatus
All Implemented Interfaces:
Serializable, Comparable<ClientData.DebuggerStatus>
Enclosing class:
ClientData

public static enum ClientData.DebuggerStatus
extends Enum<ClientData.DebuggerStatus>


Enum Constant Summary
ATTACHED
          Debugger connection status : Debugger is connected
DEFAULT
          Debugger connection status: not waiting on one, not connected to one, but accepting new connections.
ERROR
          Debugger connection status: The listening port for debugger connection failed to listen.
WAITING
          Debugger connection status: the application's VM is paused, waiting for a debugger to connect to it before resuming.
 
Method Summary
static ClientData.DebuggerStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ClientData.DebuggerStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEFAULT

public static final ClientData.DebuggerStatus DEFAULT
Debugger connection status: not waiting on one, not connected to one, but accepting new connections. This is the default value.


WAITING

public static final ClientData.DebuggerStatus WAITING
Debugger connection status: the application's VM is paused, waiting for a debugger to connect to it before resuming.


ATTACHED

public static final ClientData.DebuggerStatus ATTACHED
Debugger connection status : Debugger is connected


ERROR

public static final ClientData.DebuggerStatus ERROR
Debugger connection status: The listening port for debugger connection failed to listen. No debugger will be able to connect.

Method Detail

values

public static ClientData.DebuggerStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ClientData.DebuggerStatus c : ClientData.DebuggerStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ClientData.DebuggerStatus 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
NullPointerException - if the argument is null


Copyright © 2008-2012. All Rights Reserved.