public static enum CollectionValidation.Level extends Enum<CollectionValidation.Level>
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static CollectionValidation.Level |
of(String label) |
static CollectionValidation.Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionValidation.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionValidation.Level NONE
public static final CollectionValidation.Level NEW
public static final CollectionValidation.Level MODERATE
public static final CollectionValidation.Level STRICT
public static CollectionValidation.Level[] values()
for (CollectionValidation.Level c : CollectionValidation.Level.values()) System.out.println(c);
public static CollectionValidation.Level 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 CollectionValidation.Level of(String label)
public String getValue()
Copyright © 2016–2020 ArangoDB GmbH. All rights reserved.