|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.persister.file.FileBasedPersisterOptions
public class FileBasedPersisterOptions
This allows the user to specify the file based persister options. It's made available to the GUI and used to configure the persister..
Constructor Summary | |
---|---|
FileBasedPersisterOptions(java.lang.String configurationDataDirectory,
java.lang.String buildDataDirectory)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getConfigurationDirectory()
Provide the UI with the current configuration directory |
java.io.File |
getConfigurationDirectoryFile()
|
java.lang.String |
getDataDirectory()
Provide the UI with the current build data directory |
java.io.File |
getDataDirectoryFile()
|
int |
hashCode()
|
void |
setConfigurationDirectory(java.lang.String configurationDataDirectory)
The user (via the gui) or the plug-in loader (from the bamboo.xml file), define where the build administration files are located |
void |
setDataDirectory(java.lang.String buildDataDirectory)
The user (via the gui) or the plug-in loader (from the bamboo.xml file), define where the build data files are located |
ErrorCollection |
validate(boolean validateContents)
Validate any plugin settings populated from the GUI |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileBasedPersisterOptions(java.lang.String configurationDataDirectory, java.lang.String buildDataDirectory)
Method Detail |
---|
public void setDataDirectory(java.lang.String buildDataDirectory)
buildDataDirectory
- The build data directorypublic java.lang.String getDataDirectory()
public void setConfigurationDirectory(java.lang.String configurationDataDirectory)
configurationDataDirectory
- The server configuration data directorypublic java.lang.String getConfigurationDirectory()
public ErrorCollection validate(boolean validateContents)
validate
in interface PersisterOptions
validateContents
- true iff you want to ensure the perster has valid data, false if you want to simply check the config (but may have no data)
public java.io.File getConfigurationDirectoryFile()
public java.io.File getDataDirectoryFile()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |