public enum SecurityLevel extends Enum<SecurityLevel>
Enum Constant and Description |
---|
HIGHER |
HIGHEST |
LEVEL1 |
LEVEL2 |
LEVEL3 |
LEVEL4 |
LEVEL5 |
Modifier and Type | Method and Description |
---|---|
static SecurityLevel |
getFromInt(int level) |
int |
getIntValue() |
static SecurityLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecurityLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityLevel LEVEL1
public static final SecurityLevel LEVEL2
public static final SecurityLevel LEVEL3
public static final SecurityLevel LEVEL4
public static final SecurityLevel LEVEL5
public static final SecurityLevel HIGHER
public static final SecurityLevel HIGHEST
public static SecurityLevel[] values()
for (SecurityLevel c : SecurityLevel.values()) System.out.println(c);
public static SecurityLevel 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 getIntValue()
public static SecurityLevel getFromInt(int level)
Copyright © 2020–2023 Stiftung SIC. All rights reserved.