public enum RegexpOnFilenameOrgOption extends Enum<RegexpOnFilenameOrgOption>
RegexpOnFilenameOrgCheck
.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 RegexpOnFilenameOrgOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegexpOnFilenameOrgOption |
valueOfIgnoreCase(String pValue)
Variant of
Enum.valueOf(java.lang.Class<T>, java.lang.String) that ignores value case. |
static RegexpOnFilenameOrgOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegexpOnFilenameOrgOption ILLEGAL
public static final RegexpOnFilenameOrgOption REQUIRED
public static RegexpOnFilenameOrgOption 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@Nonnull public static RegexpOnFilenameOrgOption valueOfIgnoreCase(@Nonnull String pValue)
Enum.valueOf(java.lang.Class<T>, java.lang.String)
that ignores value case.pValue
- the String valueIllegalArgumentException
- the given String value does not match a valid enum valuepublic static RegexpOnFilenameOrgOption[] values()
for (RegexpOnFilenameOrgOption c : RegexpOnFilenameOrgOption.values()) System.out.println(c);