public class LoopContractExternalCompletion extends java.lang.Object implements InteractiveRuleApplicationCompletion
LoopContractExternalBuiltInRuleApp.| Modifier and Type | Field and Description | 
|---|---|
private MainWindow | 
mainWindow  | 
| Constructor and Description | 
|---|
LoopContractExternalCompletion(MainWindow mainWindow)  | 
| 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 application,
        Goal goal,
        boolean force)
method called to complete the given builtin rule application 
 | 
private final MainWindow mainWindow
LoopContractExternalCompletion(MainWindow mainWindow)
public IBuiltInRuleApp complete(IBuiltInRuleApp application, Goal goal, boolean force)
InteractiveRuleApplicationCompletioncomplete in interface InteractiveRuleApplicationCompletionapplication - the app to completegoal - the goal where the app will be appliedforce - 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)