Class FileBasedPersisterOptions
java.lang.Object
com.atlassian.bamboo.persister.file.FileBasedPersisterOptions
- All Implemented Interfaces:
PersisterOptions
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
ConstructorsConstructorDescriptionFileBasedPersisterOptions
(String configurationDataDirectory, String buildDataDirectory) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Provide the UI with the current configuration directoryProvide the UI with the current build data directoryint
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 locatedvoid
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 locatedvalidate
(boolean validateContents) Validate any plugin settings populated from the GUI
-
Constructor Details
-
FileBasedPersisterOptions
-
-
Method Details
-
setDataDirectory
The user (via the gui) or the plug-in loader (from the bamboo.xml file), define where the build data files are located- Parameters:
buildDataDirectory
- The build data directory
-
getDataDirectory
Provide the UI with the current build data directory- Returns:
- The directory
-
setConfigurationDirectory
The user (via the gui) or the plug-in loader (from the bamboo.xml file), define where the build administration files are located- Parameters:
configurationDataDirectory
- The server configuration data directory
-
getConfigurationDirectory
Provide the UI with the current configuration directory- Returns:
- The directory
-
validate
Validate any plugin settings populated from the GUI- Specified by:
validate
in interfacePersisterOptions
- Parameters:
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)- Returns:
- GUI from errors.
-
getConfigurationDirectoryFile
-
getDataDirectoryFile
-
equals
-
hashCode
public int hashCode()
-