public enum PrincipalFormat extends Enum<PrincipalFormat>
Enum Constant and Description |
---|
BOTH
The both.
|
FQN
The fqn.
|
NONE
The none.
|
SID
The sid.
|
Modifier and Type | Method and Description |
---|---|
static PrincipalFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrincipalFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrincipalFormat FQN
public static final PrincipalFormat SID
public static final PrincipalFormat BOTH
public static final PrincipalFormat NONE
public static PrincipalFormat[] values()
for (PrincipalFormat c : PrincipalFormat.values()) System.out.println(c);
public static PrincipalFormat 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 © 2010–2015 com.github.dblock. All rights reserved.