public static enum ArGrepPredicate.Type extends Enum<ArGrepPredicate.Type>
| Enum Constant and Description |
|---|
EXACT
Exact string match.
|
GLOB
Glob-style pattern match.
|
MATCH
Substring match.
|
RE
Regular expression match.
|
| Modifier and Type | Method and Description |
|---|---|
CommandKeyword |
getKeyword()
Returns the corresponding
CommandKeyword. |
static ArGrepPredicate.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArGrepPredicate.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArGrepPredicate.Type EXACT
public static final ArGrepPredicate.Type MATCH
public static final ArGrepPredicate.Type GLOB
public static final ArGrepPredicate.Type RE
public static ArGrepPredicate.Type[] values()
for (ArGrepPredicate.Type c : ArGrepPredicate.Type.values()) System.out.println(c);
public static ArGrepPredicate.Type 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 CommandKeyword getKeyword()
CommandKeyword.Copyright © 2026 lettuce.io. All rights reserved.