public enum MismatchStrategy extends Enum<MismatchStrategy>
ImportControlCheck
Enum Constant and Description |
---|
ALLOWED
In a case if matching allow/disallow rule was not found,
import will be allowed by default.
|
DELEGATE_TO_PARENT
In a case if matching allow/disallow rule was not found,
decision should be delegated to the parent and continue checking.
|
DISALLOWED
In a case if matching allow/disallow rule was not found,
import will be disallowed by default.
|
Modifier and Type | Method and Description |
---|---|
static MismatchStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MismatchStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MismatchStrategy DELEGATE_TO_PARENT
public static final MismatchStrategy ALLOWED
public static final MismatchStrategy DISALLOWED
public static MismatchStrategy[] values()
for (MismatchStrategy c : MismatchStrategy.values()) System.out.println(c);
public static MismatchStrategy 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 nullCopyright © 2001–2018. All rights reserved.