Class ToggleAction
- java.lang.Object
-
- com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware
-
- com.hybris.cockpitng.actions.AbstractStatefulAction<java.lang.Object,java.lang.Object>
-
- com.hybris.cockpitng.actions.toggle.AbstractToggleAction
-
- com.hybris.cockpitng.actions.toggle.ToggleAction
-
- All Implemented Interfaces:
CockpitAction<java.lang.Object,java.lang.Object>,ComponentWidgetAdapterAware
public class ToggleAction extends AbstractToggleAction
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringDEFAULT_OUTPUT_SOCKETprotected static java.lang.StringSETTING_DEFAULT_ACTIVEprotected static java.lang.StringSETTING_OUTPUT_SOCKETprotected static java.lang.StringSETTING_OUTPUT_VALUEprotected static java.lang.StringSETTING_TOGGLE_CONDITIONprotected static java.lang.StringSETTING_TOGGLE_INPUT-
Fields inherited from class com.hybris.cockpitng.actions.toggle.AbstractToggleAction
MODEL_ACTIVE, MODEL_VALUE
-
-
Constructor Summary
Constructors Constructor Description ToggleAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetDefaultOutputSocket()protected java.lang.StringgetOutputSocket(ActionContext<java.lang.Object> ctx)-
Methods inherited from class com.hybris.cockpitng.actions.toggle.AbstractToggleAction
perform, restoreOutputValue
-
Methods inherited from class com.hybris.cockpitng.actions.AbstractStatefulAction
getActionUID, getValue, restoreModelValue, setValue, storeModelValue
-
Methods inherited from class com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware
addSocketInputEventListener, getComponentID, handleSocketInputEvent, initialize, initializeDefaultEventListeners, registerStubInstance, sendOutput, setComponentID, unregisterStubInstance
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.hybris.cockpitng.actions.CockpitAction
canPerform, getConfirmationMessage, needsConfirmation
-
-
-
-
Field Detail
-
DEFAULT_OUTPUT_SOCKET
protected static final java.lang.String DEFAULT_OUTPUT_SOCKET
- See Also:
- Constant Field Values
-
SETTING_OUTPUT_SOCKET
protected static final java.lang.String SETTING_OUTPUT_SOCKET
- See Also:
- Constant Field Values
-
SETTING_OUTPUT_VALUE
protected static final java.lang.String SETTING_OUTPUT_VALUE
- See Also:
- Constant Field Values
-
SETTING_DEFAULT_ACTIVE
protected static final java.lang.String SETTING_DEFAULT_ACTIVE
- See Also:
- Constant Field Values
-
SETTING_TOGGLE_INPUT
protected static final java.lang.String SETTING_TOGGLE_INPUT
- See Also:
- Constant Field Values
-
SETTING_TOGGLE_CONDITION
protected static final java.lang.String SETTING_TOGGLE_CONDITION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getOutputSocket
protected java.lang.String getOutputSocket(ActionContext<java.lang.Object> ctx)
- Specified by:
getOutputSocketin classAbstractToggleAction- Parameters:
ctx- action context- Returns:
- name of output socket for action value
-
getDefaultOutputSocket
protected java.lang.String getDefaultOutputSocket()
-
-