public class CountCheck extends CheckOperation implements IPatternMatcherOperation
Constructor and Description |
---|
CountCheck(CallInformation information,
int position) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
check(MatchingFrame frame,
ISearchContext context)
Executes the checking operation
|
java.util.List<java.lang.Integer> |
getVariablePositions() |
void |
onInitialize(MatchingFrame frame,
ISearchContext context)
During the execution of the corresponding plan, the onInitialize callback is evaluated before the execution of
the operation may begin.
|
java.lang.String |
toString() |
execute, onBacktrack
public CountCheck(CallInformation information, int position)
public void onInitialize(MatchingFrame frame, ISearchContext context) throws LocalSearchException
ISearchOperation
onInitialize
in interface ISearchOperation
onInitialize
in class CheckOperation
LocalSearchException
protected boolean check(MatchingFrame frame, ISearchContext context) throws LocalSearchException
CheckOperation
check
in class CheckOperation
LocalSearchException
public java.util.List<java.lang.Integer> getVariablePositions()
getVariablePositions
in interface ISearchOperation
public java.lang.String toString()
toString
in class java.lang.Object