public enum MatchPolicy extends Enum<MatchPolicy>
| Enum Constant and Description |
|---|
EXCLUDE
Accept only the files which do not match the filter
|
INCLUDE
Accept all files
|
REQUIRE
Accept only the files which comply with the filter
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
acceptsAll() |
abstract Optional<Boolean> |
asBoolean() |
static MatchPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchPolicy REQUIRE
public static final MatchPolicy INCLUDE
public static final MatchPolicy EXCLUDE
public static MatchPolicy[] values()
for (MatchPolicy c : MatchPolicy.values()) System.out.println(c);
public static MatchPolicy 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 abstract Optional<Boolean> asBoolean()
public abstract boolean acceptsAll()
this is INCLUDECopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.