public enum RamlVersion extends Enum<RamlVersion>
| Modifier and Type | Method and Description |
|---|---|
static RamlVersion |
parse(String version) |
String |
value() |
static RamlVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RamlVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RamlVersion RAML_08
public static final RamlVersion RAML_10
public final String number
public static RamlVersion[] values()
for (RamlVersion c : RamlVersion.values()) System.out.println(c);
public static RamlVersion 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 static RamlVersion parse(String version)
public String value()
Copyright © 2016. All rights reserved.