Package org.opends.server.api.plugin
Class PluginResult.SubordinateModifyDN
- java.lang.Object
-
- org.opends.server.api.plugin.PluginResult.SubordinateModifyDN
-
- All Implemented Interfaces:
PluginResult.OperationResult
- Enclosing class:
- PluginResult
public static final class PluginResult.SubordinateModifyDN extends Object implements PluginResult.OperationResult
Defines a subordinate modify DN plugin result for core server operation processing consisting of either continue, skip further plugins, or stop operation processing with a result code, matched DN, referral URLs, and error message.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PluginResult.SubordinateModifyDN
continueOperationProcessing()
Defines a continue processing subordinate modify DN plugin result.boolean
continuePluginProcessing()
Whether to invoke the rest of the plugins.boolean
continueProcessing()
Indicates whether processing on the associated operation should continue.Result
getResult()
The result for this plugin result.static PluginResult.SubordinateModifyDN
skipFurtherPluginProcesssing()
Defines a skip further plugin processing subordinate modify DN plugin result.static PluginResult.SubordinateModifyDN
stopProcessing(ResultCode resultCode, LocalizableMessage errorMessage)
Constructs a new stop processing subordinate modify DN plugin result.static PluginResult.SubordinateModifyDN
stopProcessing(ResultCode resultCode, LocalizableMessage errorMessage, Dn matchedDN, List<String> referralURLs)
Defines a new stop processing subordinate modify DN plugin result.
-
-
-
Method Detail
-
continueOperationProcessing
public static PluginResult.SubordinateModifyDN continueOperationProcessing()
Defines a continue processing subordinate modify DN plugin result.- Returns:
- a continue processing subordinate modify DN plugin result.
-
skipFurtherPluginProcesssing
public static PluginResult.SubordinateModifyDN skipFurtherPluginProcesssing()
Defines a skip further plugin processing subordinate modify DN plugin result.- Returns:
- a skip further plugin processing subordinate modify DN plugin result.
-
stopProcessing
public static PluginResult.SubordinateModifyDN stopProcessing(ResultCode resultCode, LocalizableMessage errorMessage, Dn matchedDN, List<String> referralURLs)
Defines a new stop processing subordinate modify DN plugin result.- Parameters:
resultCode
- The result code for this result.errorMessage
- An message explaining why processing should stop.matchedDN
- The matched DN for this result.referralURLs
- The set of referral URLs for this result.- Returns:
- a new stop processing subordinate modify DN plugin result.
-
stopProcessing
public static PluginResult.SubordinateModifyDN stopProcessing(ResultCode resultCode, LocalizableMessage errorMessage)
Constructs a new stop processing subordinate modify DN plugin result.- Parameters:
resultCode
- The result code for this result.errorMessage
- An message explaining why processing should stop.- Returns:
- a new stop processing subordinate modify DN plugin result.
-
continueProcessing
public boolean continueProcessing()
Description copied from interface:PluginResult.OperationResult
Indicates whether processing on the associated operation should continue.- Specified by:
continueProcessing
in interfacePluginResult.OperationResult
- Returns:
true
if processing on the associated operation should continue, orfalse
if it should stop.
-
continuePluginProcessing
public boolean continuePluginProcessing()
Whether to invoke the rest of the plugins.- Returns:
true
if the rest of the plugins should be invoked forfalse
to skip the rest of the plugins.
-
getResult
public Result getResult()
Description copied from interface:PluginResult.OperationResult
The result for this plugin result.- Specified by:
getResult
in interfacePluginResult.OperationResult
- Returns:
- the result for this plugin result
-
-