public abstract class AbstractRuleUndeployFromModuleComposer<I> extends AbstractRuleCompilePublishComposer
| Constructor and Description |
|---|
AbstractRuleUndeployFromModuleComposer() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeEnv() |
void |
closeDialog() |
protected Comboitem |
createComboitem(java.lang.String name)
Creates comboitem using name as key and value
|
protected <any> |
getContext() |
protected Combobox |
getEnvInput() |
protected CockpitEventQueue |
getEventQueue() |
protected InteractiveAction |
getInteractiveAction()
returns reference to the action instance.
|
protected ObjectFacade |
getObjectFacade() |
protected Button |
getOkBtn() |
protected RuleEngineCronJobLauncher |
getRuleEngineCronJobLauncher() |
protected RuleService |
getRuleService() |
protected java.util.List<SourceRuleModel> |
getRulesToProcess() |
protected java.util.List<SourceRuleModel> |
getRulesToUndeploy()
Returns the rule to be compiled by this action.
|
protected Window |
getWindow() |
protected boolean |
hasErrors(java.util.Optional<RuleCompilerPublisherResult> result)
Deprecated.
since 6.6
|
protected boolean |
hasPublisherErrors(RuleCompilerPublisherResult result)
Deprecated.
since 6.6
|
protected void |
initEnvironmentOptionsCombo()
creates the combo boxes for the dialog box.
|
void |
onCreate(CreateEvent event) |
protected void |
onSuccess(java.lang.String moduleName,
java.lang.String previousModuleVersion,
java.lang.String moduleVersion)
the method invoked upon success
|
void |
perform()
called upon on click event of the corresponding OK button.
|
protected abstract void |
refreshWidget()
Takes care of refreshing widget, if required
|
protected <T> java.util.List<T> |
reload(java.util.List<T> list) |
protected void |
undeployRules(java.lang.String moduleName)
Undeploys rule from a module with given name
|
doAfterCompose, getAffectedRules, getNotificationService, handleRuleEngineModuleSwapCompletedEvent, handleRuleUpdatedEvent, onException, onJobTriggered, onPublishingError, onRuleUpdatepublic AbstractRuleUndeployFromModuleComposer()
protected void initEnvironmentOptionsCombo()
protected void onSuccess(java.lang.String moduleName,
java.lang.String previousModuleVersion,
java.lang.String moduleVersion)
onSuccess in class AbstractRuleCompilePublishComposermoduleName - name of the published modulepreviousModuleVersion - previous version of the modulemoduleVersion - current version of the moduleprotected abstract void refreshWidget()
public void perform()
protected void undeployRules(java.lang.String moduleName)
moduleName - kie module name@Deprecated protected boolean hasErrors(java.util.Optional<RuleCompilerPublisherResult> result)
result - @Deprecated protected boolean hasPublisherErrors(RuleCompilerPublisherResult result)
result - protected java.util.List<SourceRuleModel> getRulesToUndeploy()
protected <T> java.util.List<T> reload(java.util.List<T> list)
throws ObjectNotFoundException
ObjectNotFoundExceptionprotected InteractiveAction getInteractiveAction()
public void onCreate(CreateEvent event)
event - not used in this callprotected Comboitem createComboitem(java.lang.String name)
name - public void closeDialog()
public void changeEnv()
protected RuleEngineCronJobLauncher getRuleEngineCronJobLauncher()
protected CockpitEventQueue getEventQueue()
protected RuleService getRuleService()
protected <any> getContext()
protected Combobox getEnvInput()
protected Window getWindow()
protected Button getOkBtn()
protected ObjectFacade getObjectFacade()
protected java.util.List<SourceRuleModel> getRulesToProcess()
Copyright © 2018 SAP SE. All Rights Reserved.