Serializable
, Comparable<JConsoleContext.ConnectionState>
public static enum JConsoleContext.ConnectionState extends Enum<JConsoleContext.ConnectionState>
Enum Constant | Description |
---|---|
CONNECTED |
The connection has been successfully established.
|
CONNECTING |
The connection is being attempted.
|
DISCONNECTED |
No connection present.
|
Modifier and Type | Method | 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 Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2006, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b153-2