public class RulesModuleSyncComposer<I> extends AbstractRuleCompilePublishComposer
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
RULE_COMPILER_PROBLEMS |
| Constructor and Description |
|---|
RulesModuleSyncComposer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildCompilerErrorMessages(RuleCompilerPublisherResult ruleResults)
the method to build the compiler error messages (called from within
AbstractRuleCompilePublishComposer.onCompilingError(RuleCompilerPublisherResult) ). |
protected void |
buildCompilerProblems(RuleCompilerPublisherResult ruleResults)
the method to build the compiler problems (called from within
AbstractRuleCompilePublishComposer.onCompilingError(RuleCompilerPublisherResult)). |
protected void |
buildPublisherErrorMessages()
the method to build the publishing error messages (called from within
onPublishingError(String, Collection)). |
void |
changeEnv() |
void |
closeDialog() |
void |
closeNoTargetDialog() |
protected void |
doSynchronizeModules(java.lang.String sourceModuleName,
java.lang.String targetModuleName) |
protected <any> |
getContext() |
protected Combobox |
getEnvInput() |
protected CockpitEventQueue |
getEventQueue() |
protected InteractiveAction |
getInteractiveAction()
returns reference to the action instance.
|
protected Button |
getOkBtn() |
protected RuleMaintenanceService |
getRuleMaintenanceService() |
protected Vlayout |
getRuleModuleNoTargetPanel() |
protected Vlayout |
getRuleModuleSyncPanel() |
protected RuleService |
getRuleService() |
protected RulesModuleDao |
getRulesModuleDao() |
protected AbstractRulesModuleModel |
getSourceRulesModule()
returns the rules module to be synchronized by this action.
|
protected Window |
getWindow() |
protected void |
initEnvironmentOptionsCombo()
creates the combo boxes for the dialog box.
|
void |
onCreate(CreateEvent event) |
protected void |
onException(java.lang.Exception exception)
the method invoked upon exceptions (called from within
perform()). |
protected void |
onPublishingError(java.lang.String failureReason,
java.util.Collection<ResultItem> results)
the method invoked upon publishing errors
|
protected void |
onSuccess(java.lang.String moduleName,
java.lang.String previousModuleVersion,
java.lang.String moduleVersion)
the method invoked upon publishing success
|
void |
perform()
called upon on click event of the corresponding OK button.
|
protected void |
selectPanelToDisplay(java.util.List<Comboitem> ruleModuleComboitems) |
void |
setRuleModuleNoTargetPanel(Vlayout ruleModuleNoTargetPanel) |
void |
setRuleModuleSyncPanel(Vlayout ruleModuleSyncPanel) |
doAfterCompose, getAffectedRules, handleRuleEngineModuleSwapCompletedEvent, onCompilingErrorprotected static final java.lang.String RULE_COMPILER_PROBLEMS
public void perform()
protected void doSynchronizeModules(java.lang.String sourceModuleName,
java.lang.String targetModuleName)
protected void onSuccess(java.lang.String moduleName,
java.lang.String previousModuleVersion,
java.lang.String moduleVersion)
AbstractRuleCompilePublishComposeronSuccess in class AbstractRuleCompilePublishComposermoduleName - name of the published modulepreviousModuleVersion - previous version of the modulemoduleVersion - current version of the moduleprotected void onPublishingError(java.lang.String failureReason,
java.util.Collection<ResultItem> results)
AbstractRuleCompilePublishComposeronPublishingError in class AbstractRuleCompilePublishComposerfailureReason - failure reason messageresults - collection of publishing resultsprotected void onException(java.lang.Exception exception)
perform()).exception - the exception encountered during performprotected void buildCompilerErrorMessages(RuleCompilerPublisherResult ruleResults)
AbstractRuleCompilePublishComposerAbstractRuleCompilePublishComposer.onCompilingError(RuleCompilerPublisherResult) ).buildCompilerErrorMessages in class AbstractRuleCompilePublishComposerruleResults - the compiling/publishing resultsprotected void buildCompilerProblems(RuleCompilerPublisherResult ruleResults)
AbstractRuleCompilePublishComposerAbstractRuleCompilePublishComposer.onCompilingError(RuleCompilerPublisherResult)).buildCompilerProblems in class AbstractRuleCompilePublishComposerruleResults - the compiling/publishing resultsprotected void buildPublisherErrorMessages()
onPublishingError(String, Collection)).protected AbstractRulesModuleModel getSourceRulesModule()
protected InteractiveAction getInteractiveAction()
public void onCreate(CreateEvent event)
event - not used in this callprotected void initEnvironmentOptionsCombo()
protected void selectPanelToDisplay(java.util.List<Comboitem> ruleModuleComboitems)
public void closeDialog()
public void closeNoTargetDialog()
public void changeEnv()
protected RulesModuleDao getRulesModuleDao()
protected RuleMaintenanceService getRuleMaintenanceService()
protected CockpitEventQueue getEventQueue()
protected RuleService getRuleService()
protected <any> getContext()
protected Combobox getEnvInput()
protected Window getWindow()
protected Button getOkBtn()
protected Vlayout getRuleModuleSyncPanel()
public void setRuleModuleSyncPanel(Vlayout ruleModuleSyncPanel)
protected Vlayout getRuleModuleNoTargetPanel()
public void setRuleModuleNoTargetPanel(Vlayout ruleModuleNoTargetPanel)
Copyright © 2017 SAP SE. All Rights Reserved.