Package org.forgerock.opendj.config
Class AdministratorAction
java.lang.Object
org.forgerock.opendj.config.AdministratorAction
Defines an optional action which administators must perform after they have
modified a property. By default modifications to properties are assumed to
take effect immediately and require no additional administrative action.
Developers should be aware that, where feasible, they should implement
components such that property modifications require no additional
administrative action. This is required in order to minimize server downtime
during administration and provide a more user-friendly experience.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Specifies the type of administrator action which must be performed in order for pending changes to take effect. -
Constructor Summary
ConstructorsConstructorDescriptionAdministratorAction
(AdministratorAction.Type type, AbstractManagedObjectDefinition<?, ?> d, String propertyName) Create a new administrator action. -
Method Summary
Modifier and TypeMethodDescriptionReturns the synopsis of this administrator action in the default locale, ornull
if there is no synopsis defined.getSynopsis
(Locale locale) Returns Returns the synopsis of this administrator action in the specified locale, ornull
if there is no synopsis defined.getType()
Returns the type of this administrator action.toString()
-
Constructor Details
-
AdministratorAction
public AdministratorAction(AdministratorAction.Type type, AbstractManagedObjectDefinition<?, ?> d, String propertyName) Create a new administrator action.- Parameters:
type
- The type of this administration action.d
- The managed object definition associated with this administrator action.propertyName
- The name of the property definition associated with this administrator action.
-
-
Method Details
-
getSynopsis
Returns the synopsis of this administrator action in the default locale, ornull
if there is no synopsis defined.- Returns:
- the synopsis of this administrator action in the default locale, or
null
if there is no synopsis defined
-
getSynopsis
Returns Returns the synopsis of this administrator action in the specified locale, ornull
if there is no synopsis defined..- Parameters:
locale
- The locale.- Returns:
- Returns the synopsis of this administrator action in the specified locale,
or
null
if there is no synopsis defined
-
getType
Returns the type of this administrator action.- Returns:
- the type of this administrator action
-
toString
-