public static final class PluginResult.PostOperation extends Object implements PluginResult.OperationResult
| Modifier and Type | Method and Description |
|---|---|
static PluginResult.PostOperation |
continueOperationProcessing()
Defines a continue processing post operation plugin result.
|
boolean |
continueProcessing()
Indicates whether processing on the associated operation should continue.
|
LocalizableMessage |
getErrorMessage()
Retrieves the error message if
PluginResult.OperationResult.continueProcessing() returned false. |
DN |
getMatchedDN()
Retrieves the matched DN for the operation if
PluginResult.OperationResult.continueProcessing() returned
false. |
List<String> |
getReferralURLs()
Retrieves the referral URLs for the operation if
PluginResult.OperationResult.continueProcessing() returned
false. |
org.forgerock.opendj.ldap.ResultCode |
getResultCode()
Retrieves the result code for the operation if
PluginResult.OperationResult.continueProcessing() returned
false. |
static PluginResult.PostOperation |
stopProcessing(org.forgerock.opendj.ldap.ResultCode resultCode,
LocalizableMessage errorMessage)
Constructs a new stop processing post operation plugin result.
|
static PluginResult.PostOperation |
stopProcessing(org.forgerock.opendj.ldap.ResultCode resultCode,
LocalizableMessage errorMessage,
DN matchedDN,
List<String> referralURLs)
Defines a new stop processing post operation plugin result.
|
public static PluginResult.PostOperation continueOperationProcessing()
public static PluginResult.PostOperation stopProcessing(org.forgerock.opendj.ldap.ResultCode resultCode, LocalizableMessage errorMessage, DN matchedDN, List<String> referralURLs)
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.public static PluginResult.PostOperation stopProcessing(org.forgerock.opendj.ldap.ResultCode resultCode, LocalizableMessage errorMessage)
resultCode - The result code for this result.errorMessage - An message explaining why processing should stop.public boolean continueProcessing()
PluginResult.OperationResultcontinueProcessing in interface PluginResult.OperationResulttrue if processing on the associated operation should continue, or
false if it should stop.public LocalizableMessage getErrorMessage()
PluginResult.OperationResultPluginResult.OperationResult.continueProcessing() returned false.getErrorMessage in interface PluginResult.OperationResultnull if none is
provided.public org.forgerock.opendj.ldap.ResultCode getResultCode()
PluginResult.OperationResultPluginResult.OperationResult.continueProcessing() returned
false.getResultCode in interface PluginResult.OperationResultnull if none is provided.public DN getMatchedDN()
PluginResult.OperationResultPluginResult.OperationResult.continueProcessing() returned
false.getMatchedDN in interface PluginResult.OperationResultnull if none is provided.public List<String> getReferralURLs()
PluginResult.OperationResultPluginResult.OperationResult.continueProcessing() returned
false.getReferralURLs in interface PluginResult.OperationResultnull if none is provided.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.