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 . |
ResultCode |
getResultCode()
Retrieves the result code for the operation if
PluginResult.OperationResult.continueProcessing() returned false . |
static PluginResult.PostOperation |
stopProcessing(ResultCode resultCode,
LocalizableMessage errorMessage)
Constructs a new stop processing post operation plugin result.
|
static PluginResult.PostOperation |
stopProcessing(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(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(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 LocalizableMessage getErrorMessage()
PluginResult.OperationResult
PluginResult.OperationResult.continueProcessing()
returned false
.getErrorMessage
in interface PluginResult.OperationResult
null
if none is provided.public ResultCode getResultCode()
PluginResult.OperationResult
PluginResult.OperationResult.continueProcessing()
returned false
.getResultCode
in interface PluginResult.OperationResult
null
if none is provided.public 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-2022 ForgeRock AS.