@Exported public static enum JConsoleContext.ConnectionState extends Enum<JConsoleContext.ConnectionState>
| Enum Constant and Description | 
|---|
| CONNECTEDThe connection has been successfully established. | 
| CONNECTINGThe connection is being attempted. | 
| DISCONNECTEDNo connection present. | 
| Modifier and Type | Method and Description | 
|---|---|
| static JConsoleContext.ConnectionState | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static JConsoleContext.ConnectionState[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final JConsoleContext.ConnectionState CONNECTED
public static final JConsoleContext.ConnectionState DISCONNECTED
public static final JConsoleContext.ConnectionState CONNECTING
public static JConsoleContext.ConnectionState[] values()
for (JConsoleContext.ConnectionState c : JConsoleContext.ConnectionState.values()) System.out.println(c);
public static JConsoleContext.ConnectionState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null
 Copyright © 2006, 2017, Oracle and/or its affiliates.  All rights reserved.