Interface InteractiveAction<I,O>
- All Superinterfaces:
com.hybris.cockpitng.actions.CockpitAction<I,O>
- All Known Implementing Classes:
AbstractInteractiveAction,AbstractRuleProcessingForModuleAction,AbstractRuleSetProcessingForModuleAction,RuleCloneAction,RuleClonePromotionAction,RuleCompileAllForModuleAction,RuleCompileAllPromotionsForModuleAction,RuleCompileForModuleAction,RuleCompilePromotionForModuleAction,RuleCreateFromTemplateAction,RuleCreatePromotionFromTemplateAction,RulesModuleSyncAction,RuleUndeployFromModuleAction,RuleUndeployPromotionFromModuleAction,RuleUndeploySelectedFromModuleAction,RuleUndeploySelectedPromotionsFromModuleAction
public interface InteractiveAction<I,O>
extends com.hybris.cockpitng.actions.CockpitAction<I,O>
InteractiveAction is the interface defining methods for the common functionality of interactive actions.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsendOutputDataToSocket(String socketId, Object data) Sends data object into specified socket.voidshowAlertDialog(com.hybris.cockpitng.actions.ActionContext<I> context, String title, String message) Shows alert dialog with title, message and button Ok.Methods inherited from interface com.hybris.cockpitng.actions.CockpitAction
canPerform, getConfirmationMessage, needsConfirmation, perform
-
Method Details
-
showAlertDialog
void showAlertDialog(com.hybris.cockpitng.actions.ActionContext<I> context, String title, String message) Shows alert dialog with title, message and button Ok.- Parameters:
context- ActionContext to get localized labels by the codestitle- title codemessage- message code
-
sendOutputDataToSocket
Sends data object into specified socket.- Parameters:
socketId- Socket identifier to send datadata- data object to send
-