public class EnableAction extends CacheAction
EnableAction represents specific and common cache action.
It extends the Cachection ,
To enable /disable a cache, one should call to applyAction method with instance of this class and a given cache id
and desired enable mode| Modifier and Type | Field and Description |
|---|---|
static String |
ENABLE_ACTION_ID |
| Constructor and Description |
|---|
EnableAction(String cacheID,
boolean enabled) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnableMode() |
void |
setEnableMode(boolean enableMode) |
String |
toString()
Returns a string representation of this action
|
getActionID, getActionParams, getCacheID, setActionParamspublic static final String ENABLE_ACTION_ID
public EnableAction(String cacheID, boolean enabled)
public boolean isEnableMode()
public void setEnableMode(boolean enableMode)
public String toString()
CacheActiontoString in class CacheAction| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/common/api
|
api
|
EP-PIN
|
Copyright 2021 SAP SE Complete Copyright Notice