public static final class PluginResult.PreOperation extends Object implements PluginResult.OperationResult
Modifier and Type | Method and Description |
---|---|
static PluginResult.PreOperation |
continueOperationProcessing()
Defines a continue processing pre operation plugin result.
|
boolean |
continuePluginProcessing()
Whether to invoke the rest of the plugins.
|
boolean |
continueProcessing()
Indicates whether processing on the associated operation should continue.
|
LocalizableMessage |
getErrorMessage()
Retrieves the error message if
PluginResult.OperationResult.continueProcessing() returned false . |
org.forgerock.opendj.ldap.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.PreOperation |
skipFurtherPluginProcesssing()
Defines a skip further plugin processing pre operation plugin result.
|
static PluginResult.PreOperation |
stopProcessing(org.forgerock.opendj.ldap.ResultCode resultCode,
LocalizableMessage errorMessage)
Constructs a new stop processing pre operation plugin result.
|
static PluginResult.PreOperation |
stopProcessing(org.forgerock.opendj.ldap.ResultCode resultCode,
LocalizableMessage errorMessage,
org.forgerock.opendj.ldap.Dn matchedDN,
List<String> referralURLs)
Defines a new stop processing pre operation plugin result.
|
public static PluginResult.PreOperation continueOperationProcessing()
public static PluginResult.PreOperation skipFurtherPluginProcesssing()
public static PluginResult.PreOperation stopProcessing(org.forgerock.opendj.ldap.ResultCode resultCode, LocalizableMessage errorMessage, org.forgerock.opendj.ldap.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.PreOperation 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.OperationResult
continueProcessing
in interface PluginResult.OperationResult
true
if processing on the associated operation should continue, or
false
if it should stop.public boolean continuePluginProcessing()
true
if the rest of the plugins should
be invoked for false
to skip the rest of the plugins.public LocalizableMessage getErrorMessage()
PluginResult.OperationResult
PluginResult.OperationResult.continueProcessing()
returned false
.getErrorMessage
in interface PluginResult.OperationResult
null
if none is
provided.public org.forgerock.opendj.ldap.ResultCode getResultCode()
PluginResult.OperationResult
PluginResult.OperationResult.continueProcessing()
returned
false
.getResultCode
in interface PluginResult.OperationResult
null
if none is provided.public org.forgerock.opendj.ldap.Dn getMatchedDN()
PluginResult.OperationResult
PluginResult.OperationResult.continueProcessing()
returned
false
.getMatchedDN
in interface PluginResult.OperationResult
null
if none is provided.public List<String> getReferralURLs()
PluginResult.OperationResult
PluginResult.OperationResult.continueProcessing()
returned
false
.getReferralURLs
in interface PluginResult.OperationResult
null
if none is provided.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.