Serializable, Comparable<VerifyMode>public enum VerifyMode extends Enum<VerifyMode>
REPORT_ONLY e.g. logged or an exception (such as the
VerifyRuntimeException found in the refcodes-exception artifact) is thrown (
THROW_EXCEPTION).| Enum Constant | 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 | Description |
|---|---|---|
boolean |
isVerify() |
Checks if is verify.
|
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 © 2018. All rights reserved.