public enum DefaultVersionBehaviour extends Enum<DefaultVersionBehaviour>
Enum Constant and Description |
---|
LATEST
Will route to the latest version of the resource.
|
NONE
Will not attempt to route to any version of the resource, instead will
return an error to the client.
|
OLDEST
Will route to the oldest version of the resource.
|
Modifier and Type | Method and Description |
---|---|
static DefaultVersionBehaviour |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultVersionBehaviour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultVersionBehaviour LATEST
public static final DefaultVersionBehaviour OLDEST
public static final DefaultVersionBehaviour NONE
public static DefaultVersionBehaviour[] values()
for (DefaultVersionBehaviour c : DefaultVersionBehaviour.values()) System.out.println(c);
public static DefaultVersionBehaviour 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.