public enum OpenstackAuthVersion extends Enum<OpenstackAuthVersion>
Enum Constant and Description |
---|
PASSWORD_2_0 |
PASSWORD_3_X |
PASSWORD_3_X_TOKEN |
Modifier and Type | Method and Description |
---|---|
boolean |
compare(String value)
Compare the passed value with the internal value of the enum.
|
String |
getValue() |
static OpenstackAuthVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenstackAuthVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenstackAuthVersion PASSWORD_2_0
public static final OpenstackAuthVersion PASSWORD_3_X
public static final OpenstackAuthVersion PASSWORD_3_X_TOKEN
public static OpenstackAuthVersion[] values()
for (OpenstackAuthVersion c : OpenstackAuthVersion.values()) System.out.println(c);
public static OpenstackAuthVersion 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 String getValue()
public boolean compare(String value)
Copyright © 2016. All rights reserved.