public enum ClassificationLevel extends Enum<ClassificationLevel>
| Enum Constant and Description |
|---|
CONFIDENTIAL |
RESTRICTED |
SECRET |
TOP_SECRET |
UNCLASSIFIED |
| Modifier and Type | Method and Description |
|---|---|
static ClassificationLevel |
fromString(String value) |
String |
toString() |
static ClassificationLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassificationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassificationLevel TOP_SECRET
public static final ClassificationLevel SECRET
public static final ClassificationLevel CONFIDENTIAL
public static final ClassificationLevel RESTRICTED
public static final ClassificationLevel UNCLASSIFIED
public static ClassificationLevel[] values()
for (ClassificationLevel c : ClassificationLevel.values()) System.out.println(c);
public static ClassificationLevel 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 static ClassificationLevel fromString(String value)
public String toString()
toString in class Enum<ClassificationLevel>Copyright © 2013–2022. All rights reserved.