Package aQute.libg.clauses
Class Selector
java.lang.Object
aQute.libg.clauses.Selector
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInstructions
(Clauses clauses) static Selector
getPattern
(String string) Convert a string based pattern to a regular expression based pattern.boolean
boolean
static <T> List<T>
select
(Collection<T> domain, List<Selector> instructions) void
toString()
-
Field Details
-
Constructor Details
-
Selector
-
-
Method Details
-
matches
-
isNegated
public boolean isNegated() -
getPattern
-
getPattern
Convert a string based pattern to a regular expression based pattern. This is called an instruction, this object makes it easier to handle the different cases- Parameters:
string
-- Returns:
- new selector
-
toString
-
getClause
-
setClause
-
getInstructions
-
select
-