Class DevToolbarAction<I,O>
- java.lang.Object
-
- com.hybris.cockpitng.actions.devtools.DevToolbarAction<I,O>
-
- All Implemented Interfaces:
CockpitAction<I,O>
- Direct Known Subclasses:
RedeployAction,ReloadLabelsAction,ResetEverythingAction
public abstract class DevToolbarAction<I,O> extends java.lang.Object implements CockpitAction<I,O>
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringCOCKPITNG_DEVELOPMENT_MODEDeprecated, for removal: This API element is subject to removal in a future version.since 1811, useCNG.PROPERTY_DEVELOPMENT_MODEinstead
-
Constructor Summary
Constructors Constructor Description DevToolbarAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanPerform(ActionContext<I> ctx)Returns true if the action can be performed for the given context, false otherwise.CockpitPropertiesgetCockpitProperties()-
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
getConfirmationMessage, needsConfirmation, perform
-
-
-
-
Field Detail
-
COCKPITNG_DEVELOPMENT_MODE
@Deprecated(since="1811", forRemoval=true) protected static final java.lang.String COCKPITNG_DEVELOPMENT_MODEDeprecated, for removal: This API element is subject to removal in a future version.since 1811, useCNG.PROPERTY_DEVELOPMENT_MODEinstead- See Also:
- Constant Field Values
-
-
Method Detail
-
canPerform
public boolean canPerform(ActionContext<I> ctx)
Description copied from interface:CockpitActionReturns true if the action can be performed for the given context, false otherwise.- Specified by:
canPerformin interfaceCockpitAction<I,O>- Parameters:
ctx- context containing the data and other information- Returns:
- true if the action can be performed for the given context, false otherwise
-
getCockpitProperties
public CockpitProperties getCockpitProperties()
-
-