@Mutable @ThreadSafety(level=NOT_THREADSAFE) public final class RemoveObjectClassTaskProperties extends java.lang.Object implements java.io.Serializable
RemoveObjectClassTask
.
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds
package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
Constructor and Description |
---|
RemoveObjectClassTaskProperties(RemoveObjectClassTask task)
Creates a new set of remove object class task properties set from the
provided task instance.
|
RemoveObjectClassTaskProperties(RemoveObjectClassTaskProperties properties)
Creates a new set of remove object class task properties as a copy of the
provided properties.
|
RemoveObjectClassTaskProperties(java.lang.String objectClass)
Creates a new set of remove object class task properties.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getAlertOnError()
Retrieves the flag that indicates whether the server should send an
administrative alert notification if the task does not complete
successfully.
|
java.lang.Boolean |
getAlertOnStart()
Retrieves the flag that indicates whether the server should send an
administrative alert notification when the task starts running.
|
java.lang.Boolean |
getAlertOnSuccess()
Retrieves the flag that indicates whether the server should send an
administrative alert notification if the task completes successfully.
|
java.util.List<java.lang.String> |
getDependencyIDs()
Retrieves the task IDs for any tasks that must complete before the new
remove object class task will be eligible to start running.
|
FailedDependencyAction |
getFailedDependencyAction()
Retrieves the action that the server should take if any of the tasks on
which the new task depends did not complete successfully.
|
java.util.List<java.lang.String> |
getNotifyOnCompletion()
Retrieves the addresses to email whenever the task completes, regardless of
its success or failure.
|
java.util.List<java.lang.String> |
getNotifyOnError()
Retrieves the addresses to email if the task does not complete
successfully.
|
java.util.List<java.lang.String> |
getNotifyOnStart()
Retrieves the addresses to email whenever the task starts running.
|
java.util.List<java.lang.String> |
getNotifyOnSuccess()
Retrieves the addresses to email if the task completes successfully.
|
java.lang.String |
getObjectClass()
Retrieves the name or OID of the object class to remove from the server
schema.
|
java.util.Date |
getScheduledStartTime()
Retrieves the earliest time that the task should be eligible to start
running.
|
java.lang.String |
getTaskID()
Retrieves the task ID that should be used for the task.
|
void |
setAlertOnError(java.lang.Boolean alertOnError)
Specifies the flag that indicates whether the server should send an
administrative alert notification if the task does not complete
successfully.
|
void |
setAlertOnStart(java.lang.Boolean alertOnStart)
Specifies the flag that indicates whether the server should send an
administrative alert notification when the task starts running.
|
void |
setAlertOnSuccess(java.lang.Boolean alertOnSuccess)
Specifies the flag that indicates whether the server should send an
administrative alert notification if the task completes successfully.
|
void |
setDependencyIDs(java.util.List<java.lang.String> dependencyIDs)
Specifies the task IDs for any tasks that must complete before the new
remove object class task will be eligible to start running.
|
void |
setFailedDependencyAction(FailedDependencyAction failedDependencyAction)
Specifies the action that the server should take if any of the tasks on
which the new task depends did not complete successfully.
|
void |
setNotifyOnCompletion(java.util.List<java.lang.String> notifyOnCompletion)
Specifies the addresses to email whenever the task completes, regardless of
its success or failure.
|
void |
setNotifyOnError(java.util.List<java.lang.String> notifyOnError)
Specifies the addresses to email if the task does not complete
successfully.
|
void |
setNotifyOnStart(java.util.List<java.lang.String> notifyOnStart)
Specifies the addresses to email whenever the task starts running.
|
void |
setNotifyOnSuccess(java.util.List<java.lang.String> notifyOnSuccess)
Specifies the addresses to email if the task completes successfully.
|
void |
setObjectClass(java.lang.String objectClass)
Specifies the name or OID of the object class to remove from the server
schema.
|
void |
setScheduledStartTime(java.util.Date scheduledStartTime)
Specifies the earliest time that the task should be eligible to start
running.
|
void |
setTaskID(java.lang.String taskID)
Specifies the task ID that should be used for the task.
|
java.lang.String |
toString()
Retrieves a string representation of this remove object class task
properties object.
|
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this remove object class task
properties object to the provided buffer.
|
public RemoveObjectClassTaskProperties(@NotNull java.lang.String objectClass)
objectClass
- The name or OID of the object class to remove from the
the server schema.public RemoveObjectClassTaskProperties(@NotNull RemoveObjectClassTaskProperties properties)
properties
- The remove object class task properties to duplicate.public RemoveObjectClassTaskProperties(@NotNull RemoveObjectClassTask task)
task
- The remove object class task instance from which the
properties should be set.@NotNull public java.lang.String getObjectClass()
public void setObjectClass(@NotNull java.lang.String objectClass)
objectClass
- The name or OID of the object class to remove from the
server schema.@Nullable public java.lang.String getTaskID()
null
if a
random UUID should be generated for use as the task ID.public void setTaskID(@Nullable java.lang.String taskID)
taskID
- The task ID that should be used for the task. It may be
null
if a random UUID should be generated for use
as the task ID.@Nullable public java.util.Date getScheduledStartTime()
null
if the task should be eligible to start
immediately (or as soon as all of its dependencies have been
satisfied).public void setScheduledStartTime(@Nullable java.util.Date scheduledStartTime)
scheduledStartTime
- The earliest time that the task should be
eligible to start running. It may be
null
if the task should be eligible to
start immediately (or as soon as all of its
dependencies have been satisfied).@NotNull public java.util.List<java.lang.String> getDependencyIDs()
public void setDependencyIDs(@Nullable java.util.List<java.lang.String> dependencyIDs)
dependencyIDs
- The task IDs for any tasks that must complete before
the new remove object class task will be eligible to
start running. It may be null
or empty if
the new task should not depend on any other tasks.@Nullable public FailedDependencyAction getFailedDependencyAction()
null
if the property should not be specified when creating
the task (and the server should choose an appropriate failed
dependency action).public void setFailedDependencyAction(@Nullable FailedDependencyAction failedDependencyAction)
failedDependencyAction
- The action that the server should take if
any of the tasks on which the new task
depends did not complete successfully. It
may be null
if the property should
not be specified when creating the task
(and the server should choose an
appropriate failed dependency action).@NotNull public java.util.List<java.lang.String> getNotifyOnStart()
public void setNotifyOnStart(@Nullable java.util.List<java.lang.String> notifyOnStart)
notifyOnStart
- The addresses to email whenever the task starts
running. It amy be null
or empty if no
email notification should be sent when starting the
task.@NotNull public java.util.List<java.lang.String> getNotifyOnCompletion()
public void setNotifyOnCompletion(@Nullable java.util.List<java.lang.String> notifyOnCompletion)
notifyOnCompletion
- The addresses to email whenever the task
completes. It amy be null
or empty if
no email notification should be sent when the
task completes.@NotNull public java.util.List<java.lang.String> getNotifyOnSuccess()
public void setNotifyOnSuccess(@Nullable java.util.List<java.lang.String> notifyOnSuccess)
notifyOnSuccess
- The addresses to email if the task completes
successfully. It amy be null
or empty if
no email notification should be sent on
successful completion.@NotNull public java.util.List<java.lang.String> getNotifyOnError()
public void setNotifyOnError(@Nullable java.util.List<java.lang.String> notifyOnError)
notifyOnError
- The addresses to email if the task does not complete
successfully. It amy be null
or empty if
no email notification should be sent on an
unsuccessful completion.@Nullable public java.lang.Boolean getAlertOnStart()
null
if the property should not be specified when the
task is created (and the server will default to not sending any
alert).public void setAlertOnStart(@Nullable java.lang.Boolean alertOnStart)
alertOnStart
- The flag that indicates whether the server should
send an administrative alert notification when the
task starts running, It may be null
if the
property should not be specified when the task is
created (and the server will default to not sending
any alert).@Nullable public java.lang.Boolean getAlertOnSuccess()
null
if the property should not be
specified when the task is created (and the server will default to
not sending any alert).public void setAlertOnSuccess(@Nullable java.lang.Boolean alertOnSuccess)
alertOnSuccess
- The flag that indicates whether the server should
send an administrative alert notification if the
task completes successfully, It may be
null
if the property should not be
specified when the task is created (and the server
will default to not sending any alert).@Nullable public java.lang.Boolean getAlertOnError()
null
if the property should not be
specified when the task is created (and the server will default to
not sending any alert).public void setAlertOnError(@Nullable java.lang.Boolean alertOnError)
alertOnError
- The flag that indicates whether the server should
send an administrative alert notification if the task
does not complete successfully, It may be
null
if the property should not be specified
when the task is created (and the server will default
to not sending any alert).@NotNull public java.lang.String toString()
toString
in class java.lang.Object