Class SinglePatternDef<A>
- java.lang.Object
-
- org.drools.ruleunits.dsl.patterns.SinglePatternDef<A>
-
- All Implemented Interfaces:
InternalPatternDef,PatternDef
- Direct Known Subclasses:
Pattern1DefImpl,Pattern2DefImpl,Pattern3DefImpl,Pattern4DefImpl
public abstract class SinglePatternDef<A> extends java.lang.Object implements InternalPatternDef
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Constraint>constraintsprotected RuleDefinitionruleprotected org.drools.model.Variable<A>variable
-
Constructor Summary
Constructors Modifier Constructor Description protectedSinglePatternDef(RuleDefinition rule, org.drools.model.Variable<A> variable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <G> voidexecute(G globalObject, org.drools.model.functions.Block1<G> block)protected java.util.List<Constraint>getConstraints()org.drools.model.VariablegetVariable()org.drools.model.view.ViewItemtoExecModelItem()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.drools.ruleunits.dsl.patterns.InternalPatternDef
subPatternFrom
-
-
-
-
Field Detail
-
rule
protected final RuleDefinition rule
-
variable
protected final org.drools.model.Variable<A> variable
-
constraints
protected final java.util.List<Constraint> constraints
-
-
Constructor Detail
-
SinglePatternDef
protected SinglePatternDef(RuleDefinition rule, org.drools.model.Variable<A> variable)
-
-
Method Detail
-
getConstraints
protected java.util.List<Constraint> getConstraints()
-
getVariable
public org.drools.model.Variable getVariable()
-
execute
public <G> void execute(G globalObject, org.drools.model.functions.Block1<G> block)
-
toExecModelItem
public org.drools.model.view.ViewItem toExecModelItem()
- Specified by:
toExecModelItemin interfaceInternalPatternDef
-
-