com.sap.portal.cache.api.actions

Class EnableAction

java.lang.Object
  extended by com.sap.portal.cache.api.CacheAction
      extended by com.sap.portal.cache.api.actions.EnableAction

public class EnableAction
extends CacheAction

The Class 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


Field Summary
static String ENABLE_ACTION_ID
           
 
Constructor Summary
EnableAction(String cacheID, boolean enabled)
           
 
Method Summary
 boolean isEnableMode()
           
 void setEnableMode(boolean enableMode)
           
 String toString()
          Returns a string representation of this action
 
Methods inherited from class com.sap.portal.cache.api.CacheAction
getActionID, getActionParams, getCacheID, setActionParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ENABLE_ACTION_ID

public static final String ENABLE_ACTION_ID
See Also:
Constant Field Values
Constructor Detail

EnableAction

public EnableAction(String cacheID,
                    boolean enabled)
Method Detail

isEnableMode

public boolean isEnableMode()

setEnableMode

public void setEnableMode(boolean enableMode)

toString

public String toString()
Description copied from class: CacheAction
Returns a string representation of this action

Overrides:
toString in class CacheAction
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] tc/ep/common/api api EP-PIN


Copyright 2015 SAP AG Complete Copyright Notice