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

All Superinterfaces:
BackendCfgClient, ConfigurationClient

public interface TaskBackendCfgClient
extends BackendCfgClient

A client-side interface for reading and modifying Task Backend settings.

The Task Backend provides a mechanism for scheduling tasks in the OpenDS Directory Server. Tasks are intended to provide access to certain types of administrative functions in the server that may not be convenient to perform remotely.


Method Summary
 ManagedObjectDefinition<? extends TaskBackendCfgClient,? extends TaskBackendCfg> definition()
          Get the configuration definition associated with this Task Backend.
 java.lang.String getJavaClass()
          Gets the "java-class" property.
 java.lang.String getNotificationSenderAddress()
          Gets the "notification-sender-address" property.
 java.lang.String getTaskBackingFile()
          Gets the "task-backing-file" property.
 long getTaskRetentionTime()
          Gets the "task-retention-time" property.
 BackendCfgDefn.WritabilityMode getWritabilityMode()
          Gets the "writability-mode" property.
 void setJavaClass(java.lang.String value)
          Sets the "java-class" property.
 void setNotificationSenderAddress(java.lang.String value)
          Sets the "notification-sender-address" property.
 void setTaskBackingFile(java.lang.String value)
          Sets the "task-backing-file" property.
 void setTaskRetentionTime(java.lang.Long value)
          Sets the "task-retention-time" 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 TaskBackendCfgClient,? extends TaskBackendCfg> definition()
Get the configuration definition associated with this Task Backend.

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

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.

getNotificationSenderAddress

java.lang.String getNotificationSenderAddress()
Gets the "notification-sender-address" property.

Specifies the email address to use as the sender (that is, the "From:" address) address for notification mail messages generated when a task completes execution.

Returns:
Returns the value of the "notification-sender-address" property.

setNotificationSenderAddress

void setNotificationSenderAddress(java.lang.String value)
                                  throws IllegalPropertyValueException
Sets the "notification-sender-address" property.

Specifies the email address to use as the sender (that is, the "From:" address) address for notification mail messages generated when a task completes execution.

Parameters:
value - The value of the "notification-sender-address" property.
Throws:
IllegalPropertyValueException - If the new value is invalid.

getTaskBackingFile

java.lang.String getTaskBackingFile()
Gets the "task-backing-file" property.

Specifies the path to the backing file for storing information about the tasks configured in the server.

It may be either an absolute path or a relative path to the base of the OpenDS Directory Server instance.

Returns:
Returns the value of the "task-backing-file" property.

setTaskBackingFile

void setTaskBackingFile(java.lang.String value)
                        throws IllegalPropertyValueException
Sets the "task-backing-file" property.

Specifies the path to the backing file for storing information about the tasks configured in the server.

It may be either an absolute path or a relative path to the base of the OpenDS Directory Server instance.

Parameters:
value - The value of the "task-backing-file" property.
Throws:
IllegalPropertyValueException - If the new value is invalid.

getTaskRetentionTime

long getTaskRetentionTime()
Gets the "task-retention-time" property.

Specifies the length of time that task entries should be retained after processing on the associated task has been completed.

Returns:
Returns the value of the "task-retention-time" property.

setTaskRetentionTime

void setTaskRetentionTime(java.lang.Long value)
                          throws IllegalPropertyValueException
Sets the "task-retention-time" property.

Specifies the length of time that task entries should be retained after processing on the associated task has been completed.

Parameters:
value - The value of the "task-retention-time" 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.