public enum ConnectionName extends Enum<ConnectionName>
| Enum Constant and Description |
|---|
CONNECTION0 |
CONNECTION1 |
CONNECTION2 |
CONNECTION3 |
CONNECTION4 |
CONNECTION5 |
CONNECTION6 |
CONNECTION7 |
| Modifier and Type | Method and Description |
|---|---|
int |
index()
Gets the controller index number for the connection.
|
static ConnectionName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionName CONNECTION0
public static final ConnectionName CONNECTION1
public static final ConnectionName CONNECTION2
public static final ConnectionName CONNECTION3
public static final ConnectionName CONNECTION4
public static final ConnectionName CONNECTION5
public static final ConnectionName CONNECTION6
public static final ConnectionName CONNECTION7
public static ConnectionName[] values()
for (ConnectionName c : ConnectionName.values()) System.out.println(c);
public static ConnectionName 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 int index()
Copyright © 2017 LSST. All rights reserved.