public enum RegexpOnFilenameOption extends Enum<RegexpOnFilenameOption>
RegexpOnFilenameCheck
.Enum Constant and Description |
---|
ILLEGAL
In ILLEGAL mode, the regular expression must not match the filename, and a violation is logged if the
regexp matched anyway.
|
REQUIRED
In REQUIRED mode, the regular expression must match the filename, and a violation is logged if the regexp does
not match.
|
Modifier and Type | Method and Description |
---|---|
static RegexpOnFilenameOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegexpOnFilenameOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegexpOnFilenameOption REQUIRED
public static final RegexpOnFilenameOption ILLEGAL
public static RegexpOnFilenameOption[] values()
for (RegexpOnFilenameOption c : RegexpOnFilenameOption.values()) System.out.println(c);
public static RegexpOnFilenameOption 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 null