public class ConfluenceBandanaPersister extends Object implements com.atlassian.bandana.BandanaPersister
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_DIRECTORY_NAME |
static String |
GLOBAL_CONFIG_FILE_NAME |
static String |
SPACE_CONFIG_FILE_NAME |
Constructor and Description |
---|
ConfluenceBandanaPersister() |
Modifier and Type | Method and Description |
---|---|
void |
flushCaches() |
protected String |
getBasePath() |
void |
remove(com.atlassian.bandana.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(com.atlassian.bandana.BandanaContext context,
String key) |
Map |
retrieve(com.atlassian.bandana.BandanaContext context) |
Object |
retrieve(com.atlassian.bandana.BandanaContext context,
String key) |
Iterable<String> |
retrieveKeys(com.atlassian.bandana.BandanaContext bandanaContext) |
void |
setBootstrapManager(BootstrapManager bootstrapManager) |
void |
setxStreamManager(XStreamManager xStreamManager) |
void |
store(com.atlassian.bandana.BandanaContext context,
String key,
Object configuration) |
public static final String CONFIG_DIRECTORY_NAME
public static final String GLOBAL_CONFIG_FILE_NAME
public static final String SPACE_CONFIG_FILE_NAME
public Object retrieve(com.atlassian.bandana.BandanaContext context, String key)
retrieve
in interface com.atlassian.bandana.BandanaPersister
public Map retrieve(com.atlassian.bandana.BandanaContext context)
retrieve
in interface com.atlassian.bandana.BandanaPersister
public Iterable<String> retrieveKeys(com.atlassian.bandana.BandanaContext bandanaContext)
retrieveKeys
in interface com.atlassian.bandana.BandanaPersister
public void store(com.atlassian.bandana.BandanaContext context, String key, Object configuration)
store
in interface com.atlassian.bandana.BandanaPersister
protected String getBasePath()
public void setxStreamManager(XStreamManager xStreamManager)
public void setBootstrapManager(BootstrapManager bootstrapManager)
public void flushCaches()
flushCaches
in interface com.atlassian.bandana.BandanaPersister
public void remove(com.atlassian.bandana.BandanaContext bandanaContext)
remove
in interface com.atlassian.bandana.BandanaPersister
bandanaContext
- public void remove(com.atlassian.bandana.BandanaContext context, String key)
remove
in interface com.atlassian.bandana.BandanaPersister
Copyright © 2003–2017 Atlassian. All rights reserved.