public enum RegexpOnFilenameOrgOption extends java.lang.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(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RegexpOnFilenameOrgOption |
valueOfIgnoreCase(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Nonnull public static RegexpOnFilenameOrgOption valueOfIgnoreCase(@Nonnull java.lang.String pValue)
Enum.valueOf(java.lang.Class<T>, java.lang.String)
that ignores value case.pValue
- the String valuejava.lang.IllegalArgumentException
- the given String value does not match a valid enum valuepublic static RegexpOnFilenameOrgOption[] values()
for (RegexpOnFilenameOrgOption c : RegexpOnFilenameOrgOption.values()) System.out.println(c);