public enum AuthenticationLevel extends Enum<AuthenticationLevel>
| Enum Constant and Description |
|---|
PASSWORD |
TWO_FACTOR |
| Modifier and Type | Method and Description |
|---|---|
static AuthenticationLevel |
fromLevel(int verdi) |
static AuthenticationLevel |
fromValue(String v) |
int |
level() |
String |
value() |
static AuthenticationLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationLevel PASSWORD
public static final AuthenticationLevel TWO_FACTOR
public static AuthenticationLevel[] values()
for (AuthenticationLevel c : AuthenticationLevel.values()) System.out.println(c);
public static AuthenticationLevel 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 level()
public static AuthenticationLevel fromLevel(int verdi)
public String value()
public static AuthenticationLevel fromValue(String v)
Copyright © 2013 Digipost Open Source. All rights reserved.