public class FunctionalOperationContractCompletion extends java.lang.Object implements InteractiveRuleApplicationCompletion
| Constructor and Description |
|---|
FunctionalOperationContractCompletion() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canComplete(IBuiltInRuleApp app)
checks if this instance is responsible for the given app
|
static boolean |
checkCanComplete(IBuiltInRuleApp app)
Checks if the app is supported.
|
IBuiltInRuleApp |
complete(IBuiltInRuleApp app,
Goal goal,
boolean forced)
method called to complete the given builtin rule application
|
public FunctionalOperationContractCompletion()
public IBuiltInRuleApp complete(IBuiltInRuleApp app, Goal goal, boolean forced)
InteractiveRuleApplicationCompletioncomplete in interface InteractiveRuleApplicationCompletionapp - the app to completegoal - the goal where the app will be appliedforced - a boolean indicating if the user shall be bothered if the instantiation is unique or
can be chosen in a reasonable way as if uniquepublic boolean canComplete(IBuiltInRuleApp app)
InteractiveRuleApplicationCompletioncanComplete in interface InteractiveRuleApplicationCompletionapp - the rule apppublic static boolean checkCanComplete(IBuiltInRuleApp app)