public enum CreateSingleton extends Enum<CreateSingleton>
Enum Constant and Description |
---|
FALSE
The created resource is not a singleton.
|
FROM_CONTEXT
Derive the singleton from the usage context.
|
TRUE
The created resource is a singleton.
|
Modifier and Type | Method and Description |
---|---|
static CreateSingleton |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreateSingleton[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateSingleton TRUE
public static final CreateSingleton FALSE
public static final CreateSingleton FROM_CONTEXT
public static CreateSingleton[] values()
for (CreateSingleton c : CreateSingleton.values()) System.out.println(c);
public static CreateSingleton 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-2018, ForgeRock All Rights Reserved.