com.atlassian.confluence.setup.bandana
Class ConfluenceBandanaPersister
java.lang.Object
com.atlassian.confluence.setup.bandana.ConfluenceBandanaPersister
- All Implemented Interfaces:
- BandanaPersister
public class ConfluenceBandanaPersister
- extends Object
- implements BandanaPersister
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIG_DIRECTORY_NAME
public static final String CONFIG_DIRECTORY_NAME
- See Also:
- Constant Field Values
GLOBAL_CONFIG_FILE_NAME
public static final String GLOBAL_CONFIG_FILE_NAME
- See Also:
- Constant Field Values
SPACE_CONFIG_FILE_NAME
public static final String SPACE_CONFIG_FILE_NAME
- See Also:
- Constant Field Values
ConfluenceBandanaPersister
public ConfluenceBandanaPersister()
retrieve
public Object retrieve(BandanaContext context,
String key)
- Specified by:
retrieve
in interface BandanaPersister
retrieve
public Map retrieve(BandanaContext context)
- Specified by:
retrieve
in interface BandanaPersister
retrieveKeys
public Iterable<String> retrieveKeys(BandanaContext bandanaContext)
- Specified by:
retrieveKeys
in interface BandanaPersister
store
public void store(BandanaContext context,
String key,
Object configuration)
- Specified by:
store
in interface BandanaPersister
getBasePath
protected String getBasePath()
setxStreamManager
public void setxStreamManager(XStreamManager xStreamManager)
setBootstrapManager
public void setBootstrapManager(BootstrapManager bootstrapManager)
flushCaches
public void flushCaches()
- Specified by:
flushCaches
in interface BandanaPersister
remove
public void remove(BandanaContext bandanaContext)
- if space context passed in, remove the whole directory for space
if global context passed in, remove the global bandana config file only
- Specified by:
remove
in interface BandanaPersister
- Parameters:
bandanaContext
-
remove
public void remove(BandanaContext context,
String key)
- Specified by:
remove
in interface BandanaPersister