public class Selector extends Object
Constructor and Description |
---|
Selector(String instruction,
boolean negated) |
Modifier and Type | Method and Description |
---|---|
Clause |
getClause() |
static List<Selector> |
getInstructions(Clauses clauses) |
String |
getPattern() |
static Selector |
getPattern(String string)
Convert a string based pattern to a regular expression based pattern.
|
boolean |
isNegated() |
boolean |
matches(String value) |
static <T> List<T> |
select(Collection<T> domain,
List<Selector> instructions) |
void |
setClause(Clause clause) |
String |
toString() |
public Selector(String instruction, boolean negated)
public boolean matches(String value)
public boolean isNegated()
public String getPattern()
public static Selector getPattern(String string)
string
- public Clause getClause()
public void setClause(Clause clause)
public static <T> List<T> select(Collection<T> domain, List<Selector> instructions)
Copyright © 2015 aQute SARL. All rights reserved.