public class FileBasedPersisterOptions extends Object implements PersisterOptions
Constructor and Description |
---|
FileBasedPersisterOptions(String configurationDataDirectory,
String buildDataDirectory) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getConfigurationDirectory()
Provide the UI with the current configuration directory
|
File |
getConfigurationDirectoryFile() |
String |
getDataDirectory()
Provide the UI with the current build data directory
|
File |
getDataDirectoryFile() |
int |
hashCode() |
void |
setConfigurationDirectory(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(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
|
public void setDataDirectory(String buildDataDirectory)
buildDataDirectory
- The build data directorypublic String getDataDirectory()
public void setConfigurationDirectory(String configurationDataDirectory)
configurationDataDirectory
- The server configuration data directorypublic 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 File getConfigurationDirectoryFile()
public File getDataDirectoryFile()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.