com.atlassian.confluence.setup.bandana
Class ConfluenceBandanaPersister

java.lang.Object
  extended bycom.atlassian.confluence.setup.bandana.ConfluenceBandanaPersister
All Implemented Interfaces:
BandanaPersister

public class ConfluenceBandanaPersister
extends Object
implements BandanaPersister


Field Summary
static String CONFIG_DIRECTORY_NAME
           
static String GLOBAL_CONFIG_FILE_NAME
           
static String SPACE_CONFIG_FILE_NAME
           
 
Constructor Summary
ConfluenceBandanaPersister()
           
 
Method Summary
 void flushCaches()
           
protected  String getBasePath()
           
 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
 void remove(BandanaContext context, String key)
           
 Map retrieve(BandanaContext context)
           
 Object retrieve(BandanaContext context, String key)
           
 void setBootstrapManager(BootstrapManager bootstrapManager)
           
 void setxStreamManager(XStreamManager xStreamManager)
           
 void store(BandanaContext context, String key, Object configuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ConfluenceBandanaPersister

public ConfluenceBandanaPersister()
Method Detail

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

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


Confluence is developed by Atlassian.