Class AbstractSpecification
- java.lang.Object
-
- app.dassana.ruleengine.grammar.specification.AbstractSpecification
-
- All Implemented Interfaces:
ISpecification
- Direct Known Subclasses:
AndSpecification,DoesNotExistsAbstractSpecification,EmptySpecification,ExistsAbstractSpecification,GreaterThan,IsTrue,NotSpecification,OrSpecification,StringContains,StringEquals
public abstract class AbstractSpecification extends Object implements ISpecification
-
-
Field Summary
Fields Modifier and Type Field Description protected StringjsonPathExpressionprotected IJsonPathParserjsonPathParserprotected Stringvalue
-
Constructor Summary
Constructors Constructor Description AbstractSpecification(IJsonPathParser jsonPathParser, String jsonPathExpression, String value)
-
-
-
Field Detail
-
jsonPathParser
protected IJsonPathParser jsonPathParser
-
jsonPathExpression
protected String jsonPathExpression
-
value
protected String value
-
-
Constructor Detail
-
AbstractSpecification
public AbstractSpecification(IJsonPathParser jsonPathParser, String jsonPathExpression, String value)
-
-
Method Detail
-
isSatisfiedBy
public abstract boolean isSatisfiedBy(String jsonData)
- Specified by:
isSatisfiedByin interfaceISpecification
-
-