public abstract class CheckOperationExecutor extends java.lang.Object implements ISearchOperation.ISearchOperationExecutor
| Constructor and Description |
|---|
CheckOperationExecutor() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
check(MatchingFrame frame,
ISearchContext context)
Executes the checking operation
|
boolean |
execute(MatchingFrame frame,
ISearchContext context) |
void |
onBacktrack(MatchingFrame frame,
ISearchContext context)
After the execution of the operation failed and
ISearchOperation.ISearchOperationExecutor.execute(MatchingFrame, ISearchContext) returns false, the onBacktrack
callback is evaluated. |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOperationpublic void onInitialize(MatchingFrame frame, ISearchContext context)
ISearchOperation.ISearchOperationExecutoronInitialize in interface ISearchOperation.ISearchOperationExecutorpublic void onBacktrack(MatchingFrame frame, ISearchContext context)
ISearchOperation.ISearchOperationExecutorISearchOperation.ISearchOperationExecutor.execute(MatchingFrame, ISearchContext) returns false, the onBacktrack
callback is evaluated. Operations may use this method to clean up any temporary structures, and make the
operation ready for a new execution.onBacktrack in interface ISearchOperation.ISearchOperationExecutorpublic boolean execute(MatchingFrame frame, ISearchContext context)
execute in interface ISearchOperation.ISearchOperationExecutorprotected abstract boolean check(MatchingFrame frame, ISearchContext context)