Class AbstractSpecification
- java.lang.Object
-
- app.dassana.ruleengine.grammar.specification.AbstractSpecification
-
- All Implemented Interfaces:
ISpecification
- Direct Known Subclasses:
AndSpecification,DoesNotExistsSpecification,EmptySpecification,ExistsSpecification,GreaterThan,IsTrue,JqExpressionSpec,NotSpecification,OrSpecification,StringContains,StringEquals
public abstract class AbstractSpecification extends Object implements ISpecification
-
-
Field Summary
Fields Modifier and Type Field Description protected StringjsonPathExpressionprotected IJqPathParserjsonPathParserprotected Stringvalue
-
Constructor Summary
Constructors Constructor Description AbstractSpecification(IJqPathParser jsonPathParser, String jsonPathExpression, String value)
-
-
-
Field Detail
-
jsonPathParser
protected IJqPathParser jsonPathParser
-
jsonPathExpression
protected String jsonPathExpression
-
value
protected String value
-
-
Constructor Detail
-
AbstractSpecification
public AbstractSpecification(IJqPathParser jsonPathParser, String jsonPathExpression, String value)
-
-
Method Detail
-
isSatisfiedBy
public abstract boolean isSatisfiedBy(String jsonData) throws com.fasterxml.jackson.core.JsonProcessingException
- Specified by:
isSatisfiedByin interfaceISpecification- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-