org.opends.server.admin.std.client
Interface BackupBackendCfgClient

All Superinterfaces:
BackendCfgClient, ConfigurationClient

public interface BackupBackendCfgClient
extends BackendCfgClient

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 the OpenDS Directory Server.


Method Summary
 ManagedObjectDefinition<? extends BackupBackendCfgClient,? extends BackupBackendCfg> definition()
          Get the configuration definition associated with this Backup Backend.
 java.util.SortedSet<java.lang.String> getBackupDirectory()
          Gets the "backup-directory" property.
 java.lang.String getJavaClass()
          Gets the "java-class" property.
 BackendCfgDefn.WritabilityMode getWritabilityMode()
          Gets the "writability-mode" property.
 void setBackupDirectory(java.util.Collection<java.lang.String> values)
          Sets the "backup-directory" property.
 void setJavaClass(java.lang.String value)
          Sets the "java-class" property.
 void setWritabilityMode(BackendCfgDefn.WritabilityMode value)
          Sets the "writability-mode" property.
 
Methods inherited from interface org.opends.server.admin.std.client.BackendCfgClient
getBackendId, getBaseDN, isEnabled, setBackendId, setBaseDN, setEnabled
 
Methods inherited from interface org.opends.server.admin.ConfigurationClient
commit, properties
 

Method Detail

definition

ManagedObjectDefinition<? extends BackupBackendCfgClient,? extends BackupBackendCfg> definition()
Get the configuration definition associated with this Backup Backend.

Specified by:
definition in interface BackendCfgClient
Specified by:
definition in interface ConfigurationClient
Returns:
Returns the configuration definition associated with this Backup Backend.

getBackupDirectory

java.util.SortedSet<java.lang.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 OpenDS Directory Server installation.

Returns:
Returns the values of the "backup-directory" property.

setBackupDirectory

void setBackupDirectory(java.util.Collection<java.lang.String> values)
                        throws IllegalPropertyValueException
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 OpenDS Directory Server installation.

Parameters:
values - The values of the "backup-directory" property.
Throws:
IllegalPropertyValueException - If one or more of the new values are invalid.

getJavaClass

java.lang.String getJavaClass()
Gets the "java-class" property.

Specifies the fully-qualified name of the Java class that provides the backend implementation.

Specified by:
getJavaClass in interface BackendCfgClient
Returns:
Returns the value of the "java-class" property.

setJavaClass

void setJavaClass(java.lang.String value)
                  throws IllegalPropertyValueException
Sets the "java-class" property.

Specifies the fully-qualified name of the Java class that provides the backend implementation.

Specified by:
setJavaClass in interface BackendCfgClient
Parameters:
value - The value of the "java-class" property.
Throws:
IllegalPropertyValueException - If the new value is invalid.

getWritabilityMode

BackendCfgDefn.WritabilityMode getWritabilityMode()
Gets the "writability-mode" property.

Specifies the behavior that the backend should use when processing write operations.

Specified by:
getWritabilityMode in interface BackendCfgClient
Returns:
Returns the value of the "writability-mode" property.

setWritabilityMode

void setWritabilityMode(BackendCfgDefn.WritabilityMode value)
                        throws IllegalPropertyValueException
Sets the "writability-mode" property.

Specifies the behavior that the backend should use when processing write operations.

Specified by:
setWritabilityMode in interface BackendCfgClient
Parameters:
value - The value of the "writability-mode" property.
Throws:
IllegalPropertyValueException - If the new value is invalid.