Package aQute.bnd.osgi
Class Instruction
- java.lang.Object
-
- aQute.bnd.osgi.Instruction
-
public class Instruction extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInstruction.Filter
-
Constructor Summary
Constructors Constructor Description Instruction(java.lang.String input)Instruction(java.util.regex.Pattern pattern)Instruction(java.util.regex.Pattern pattern, boolean negated)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanfinds(java.lang.String value)java.lang.StringgetInput()java.lang.StringgetLiteral()java.util.regex.MatchergetMatcher(java.lang.String value)java.lang.StringgetPattern()booleanisAny()booleanisDuplicate()booleanisLiteral()booleanisNegated()booleanisOptional()static Instructionlegacy(java.lang.String input)booleanmatches(java.lang.String value)voidsetOptional()java.lang.StringtoString()
-
-
-
Method Detail
-
legacy
public static Instruction legacy(java.lang.String input)
-
matches
public boolean matches(java.lang.String value)
-
isNegated
public boolean isNegated()
-
getPattern
public java.lang.String getPattern()
-
getInput
public java.lang.String getInput()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getMatcher
public java.util.regex.Matcher getMatcher(java.lang.String value)
-
setOptional
public void setOptional()
-
isOptional
public boolean isOptional()
-
isLiteral
public boolean isLiteral()
-
getLiteral
public java.lang.String getLiteral()
-
isDuplicate
public boolean isDuplicate()
-
isAny
public boolean isAny()
-
finds
public boolean finds(java.lang.String value)
-
-