public class ExtendPositivePatternCall extends java.lang.Object implements ISearchOperation, IPatternMatcherOperation
| Constructor and Description |
|---|
ExtendPositivePatternCall(CallInformation information) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(MatchingFrame frame,
ISearchContext context) |
java.util.List<java.lang.Integer> |
getVariablePositions() |
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. |
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() |
public ExtendPositivePatternCall(CallInformation information)
public void onInitialize(MatchingFrame frame, ISearchContext context) throws LocalSearchException
ISearchOperationonInitialize in interface ISearchOperationLocalSearchExceptionpublic boolean execute(MatchingFrame frame, ISearchContext context) throws LocalSearchException
execute in interface ISearchOperationLocalSearchExceptionpublic void onBacktrack(MatchingFrame frame, ISearchContext context) throws LocalSearchException
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 ISearchOperationLocalSearchExceptionpublic java.util.List<java.lang.Integer> getVariablePositions()
getVariablePositions in interface ISearchOperationpublic java.lang.String toString()
toString in class java.lang.Object