Interface BackupBackendCfgClient
-
- All Superinterfaces:
BackendCfgClient,ConfigurationClient,LocalBackendCfgClient
public interface BackupBackendCfgClient extends LocalBackendCfgClient
A client-side interface for reading and modifying Backup Backend settings.The Backup Backend provides read-only access to the set of backups that are available for OpenDJ.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedObjectDefinition<? extends BackupBackendCfgClient,? extends BackupBackendCfg>definition()Get the configuration definition associated with this Backup Backend.SortedSet<String>getBackupDirectory()Gets the "backup-directory" property.StringgetJavaClass()Gets the "java-class" property.LocalBackendCfgDefn.WritabilityModegetWritabilityMode()Gets the "writability-mode" property.voidsetBackupDirectory(Collection<String> values)Sets the "backup-directory" property.voidsetJavaClass(String value)Sets the "java-class" property.voidsetWritabilityMode(LocalBackendCfgDefn.WritabilityMode value)Sets the "writability-mode" property.-
Methods inherited from interface org.forgerock.opendj.server.config.client.BackendCfgClient
getBackendId, getBaseDN, isEnabled, setBackendId, setBaseDN, setEnabled
-
Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
-
-
-
Method Detail
-
definition
ManagedObjectDefinition<? extends BackupBackendCfgClient,? extends BackupBackendCfg> definition()
Get the configuration definition associated with this Backup Backend.- Specified by:
definitionin interfaceBackendCfgClient- Specified by:
definitionin interfaceConfigurationClient- Specified by:
definitionin interfaceLocalBackendCfgClient- Returns:
- Returns the configuration definition associated with this Backup Backend.
-
getBackupDirectory
SortedSet<String> getBackupDirectory()
Gets the "backup-directory" property.Specifies the path to a backup directory containing one or more backups for a particular backend.
This is a multivalued property. Each value may specify a different backup directory if desired (one for each backend for which backups are taken). Values may be either absolute paths or paths that are relative to the base of the OpenDJ directory server installation.
- Returns:
- Returns the values of the "backup-directory" property.
-
setBackupDirectory
void setBackupDirectory(Collection<String> values) throws PropertyException
Sets the "backup-directory" property.Specifies the path to a backup directory containing one or more backups for a particular backend.
This is a multivalued property. Each value may specify a different backup directory if desired (one for each backend for which backups are taken). Values may be either absolute paths or paths that are relative to the base of the OpenDJ directory server installation.
- Parameters:
values- The values of the "backup-directory" property.- Throws:
PropertyException- If one or more of the new values are invalid.
-
getJavaClass
String getJavaClass()
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the backend implementation.
- Specified by:
getJavaClassin interfaceBackendCfgClient- Specified by:
getJavaClassin interfaceLocalBackendCfgClient- Returns:
- Returns the value of the "java-class" property.
-
setJavaClass
void setJavaClass(String value) throws PropertyException
Sets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the backend implementation.
- Specified by:
setJavaClassin interfaceBackendCfgClient- Specified by:
setJavaClassin interfaceLocalBackendCfgClient- Parameters:
value- The value of the "java-class" property.- Throws:
PropertyException- If the new value is invalid.
-
getWritabilityMode
LocalBackendCfgDefn.WritabilityMode getWritabilityMode()
Gets the "writability-mode" property.Specifies the behavior that the backend should use when processing write operations.
- Specified by:
getWritabilityModein interfaceLocalBackendCfgClient- Returns:
- Returns the value of the "writability-mode" property.
-
setWritabilityMode
void setWritabilityMode(LocalBackendCfgDefn.WritabilityMode value) throws PropertyException
Sets the "writability-mode" property.Specifies the behavior that the backend should use when processing write operations.
- Specified by:
setWritabilityModein interfaceLocalBackendCfgClient- Parameters:
value- The value of the "writability-mode" property.- Throws:
PropertyException- If the new value is invalid.
-
-