public abstract class ExtendOperation<T> extends java.lang.Object implements ISearchOperation
| Constructor and Description |
|---|
ExtendOperation(int position) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(MatchingFrame frame,
ISearchContext context) |
void |
onBacktrack(MatchingFrame frame,
ISearchContext context)
After the execution of the operation failed and
ISearchOperation.execute(MatchingFrame, ISearchContext) returns false, the onBacktrack
callback is evaluated. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetVariablePositions, onInitializepublic void onBacktrack(MatchingFrame frame, ISearchContext context)
ISearchOperationISearchOperation.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 ISearchOperationpublic boolean execute(MatchingFrame frame, ISearchContext context)
execute in interface ISearchOperation