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
Modifier and TypeClassDescriptionstatic enum
Specifies the type of administrator action which must be performed in order for pending changes to take effect. -
Constructor Summary
ConstructorDescriptionAdministratorAction
(AdministratorAction.Type type, AbstractManagedObjectDefinition<?, ?> d, String propertyName) Create a new administrator action. -
Method Summary
Modifier and TypeMethodDescriptionGets the synopsis of this administrator action in the default locale.getSynopsis
(Locale locale) Gets the synopsis of this administrator action in the specified locale.getType()
Gets 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
Gets the synopsis of this administrator action in the default locale.- Returns:
- Returns the synopsis of this administrator action in the default locale,
or
null
if there is no synopsis defined.
-
getSynopsis
Gets the synopsis of this administrator action in the specified locale.- 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
Gets the type of this administrator action.- Returns:
- Returns the type of this administrator action.
-
toString
-