public abstract class AbstractRuleCompileForModuleComposer<I> extends AbstractRuleCompilePublishComposer
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
DEFAULT_CONFIRM_PUBLISH_CANCEL |
protected static java.lang.String |
DEFAULT_CONFIRM_PUBLISH_MESSAGE |
protected static java.lang.String |
DEFAULT_CONFIRM_PUBLISH_OK |
protected static java.lang.String |
DEFAULT_CONFIRM_PUBLISH_TITLE |
protected static java.lang.String |
DEFAULT_MULTIPLEVERSIONS_CONFIRM_PUBLISH_MESSAGE |
protected static java.lang.String |
MESSAGEBOX_TEMPLATE_URL |
| Constructor and Description |
|---|
AbstractRuleCompileForModuleComposer() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeEnv() |
void |
closeDialog() |
protected boolean |
containsDeployedRules(java.lang.String moduleName,
java.util.List<SourceRuleModel> sourceRules) |
protected void |
doCompileAndPublishRules(java.lang.String moduleName,
java.util.List<SourceRuleModel> sourceRules) |
protected void |
doOnConfirmationClickForDeployedRules(Messagebox.ClickEvent clickEvent,
java.lang.String moduleName,
java.util.List<SourceRuleModel> sourceRules) |
protected void |
doOnConfirmationClickForMultiVersionRules(Messagebox.ClickEvent clickEvent,
java.lang.String moduleName,
java.util.List<SourceRuleModel> sourceRules) |
protected <any> |
getContext() |
protected Combobox |
getEnvInput() |
protected CockpitEventQueue |
getEventQueue() |
protected InteractiveAction |
getInteractiveAction()
returns reference to the action instance.
|
protected java.lang.String |
getMessageboxWidth() |
protected Button |
getOkBtn() |
protected RuleEngineCronJobLauncher |
getRuleEngineCronJobLauncher() |
protected RuleService |
getRuleService() |
protected RulesModuleDao |
getRulesModuleDao() |
protected java.util.List<SourceRuleModel> |
getRulesToProcess()
returns the rule to be compiled by this action.
|
protected abstract RuleType |
getRuleType()
the rule type used for (sub)selecting which environments / rule modules are displayed.
|
protected Window |
getWindow() |
protected void |
initEnvironmentOptionsCombo()
creates the combo boxes for the dialog box.
|
void |
onCreate(CreateEvent event) |
void |
perform()
called upon on click event of the corresponding OK button.
|
protected boolean |
registerModuleSwappingNotification(java.lang.String moduleName) |
protected void |
showConfirmationDialog(java.lang.String message,
<any> listener) |
doAfterCompose, getAffectedRules, getNotificationService, handleRuleEngineModuleSwapCompletedEvent, handleRuleUpdatedEvent, onException, onJobTriggered, onPublishingError, onRuleUpdate, onSuccessprotected static final java.lang.String DEFAULT_CONFIRM_PUBLISH_MESSAGE
protected static final java.lang.String DEFAULT_MULTIPLEVERSIONS_CONFIRM_PUBLISH_MESSAGE
protected static final java.lang.String DEFAULT_CONFIRM_PUBLISH_TITLE
protected static final java.lang.String DEFAULT_CONFIRM_PUBLISH_OK
protected static final java.lang.String DEFAULT_CONFIRM_PUBLISH_CANCEL
protected static final java.lang.String MESSAGEBOX_TEMPLATE_URL
public AbstractRuleCompileForModuleComposer()
public void perform()
protected boolean containsDeployedRules(java.lang.String moduleName,
java.util.List<SourceRuleModel> sourceRules)
protected void showConfirmationDialog(java.lang.String message,
<any> listener)
protected java.lang.String getMessageboxWidth()
protected void doOnConfirmationClickForMultiVersionRules(Messagebox.ClickEvent clickEvent,
java.lang.String moduleName,
java.util.List<SourceRuleModel> sourceRules)
protected void doOnConfirmationClickForDeployedRules(Messagebox.ClickEvent clickEvent,
java.lang.String moduleName,
java.util.List<SourceRuleModel> sourceRules)
protected void doCompileAndPublishRules(java.lang.String moduleName,
java.util.List<SourceRuleModel> sourceRules)
protected boolean registerModuleSwappingNotification(java.lang.String moduleName)
protected abstract RuleType getRuleType()
protected java.util.List<SourceRuleModel> getRulesToProcess()
protected InteractiveAction getInteractiveAction()
public void onCreate(CreateEvent event)
event - not used in this callprotected void initEnvironmentOptionsCombo()
public void closeDialog()
public void changeEnv()
protected RulesModuleDao getRulesModuleDao()
protected RuleEngineCronJobLauncher getRuleEngineCronJobLauncher()
protected CockpitEventQueue getEventQueue()
protected RuleService getRuleService()
protected <any> getContext()
protected Combobox getEnvInput()
protected Window getWindow()
protected Button getOkBtn()
Copyright © 2018 SAP SE. All Rights Reserved.