public static enum Cable.Validity extends Enum<Cable.Validity>
| Enum Constant and Description |
|---|
DANGLING
One of the cable endpoints is not in valid state.
|
VALID
The cable state approved, this is the default status.
|
| Modifier and Type | Method and Description |
|---|---|
static Cable.Validity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cable.Validity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cable.Validity VALID
public static final Cable.Validity DANGLING
public static Cable.Validity[] values()
for (Cable.Validity c : Cable.Validity.values()) System.out.println(c);
public static Cable.Validity 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 nullCopyright © 2025 European Spallation Source. All rights reserved.