public static enum DatabaseConnectionStateService.DatabaseConnectionState extends Enum<DatabaseConnectionStateService.DatabaseConnectionState>
Enum Constant and Description |
---|
CONNECTED |
DISCONNECTED |
Modifier and Type | Method and Description |
---|---|
long |
getValue() |
static DatabaseConnectionStateService.DatabaseConnectionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseConnectionStateService.DatabaseConnectionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseConnectionStateService.DatabaseConnectionState CONNECTED
public static final DatabaseConnectionStateService.DatabaseConnectionState DISCONNECTED
public static DatabaseConnectionStateService.DatabaseConnectionState[] values()
for (DatabaseConnectionStateService.DatabaseConnectionState c : DatabaseConnectionStateService.DatabaseConnectionState.values()) System.out.println(c);
public static DatabaseConnectionStateService.DatabaseConnectionState 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 nullpublic long getValue()
Copyright © 2002-2024 Atlassian. All Rights Reserved.