public enum VerifyMode extends Enum<VerifyMode>
Enum Constant and Description |
---|
NONE
Verification is disabled.
|
REPORT_ONLY
Verification is enabled, problems are only reported.
|
THROW_EXCEPTION
Verification is enabled, problems cause an exception.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isVerify() |
static VerifyMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VerifyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VerifyMode NONE
public static final VerifyMode REPORT_ONLY
public static final VerifyMode THROW_EXCEPTION
public static VerifyMode[] values()
for (VerifyMode c : VerifyMode.values()) System.out.println(c);
public static VerifyMode 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 boolean isVerify()
Copyright © 2016. All rights reserved.