Package org.opends.server.types
Class SynchronizationProviderResult.StopProcessing
- java.lang.Object
-
- org.opends.server.types.SynchronizationProviderResult.StopProcessing
-
- All Implemented Interfaces:
PluginResult.OperationResult,SynchronizationProviderResult
- Enclosing interface:
- SynchronizationProviderResult
public static class SynchronizationProviderResult.StopProcessing extends Object implements SynchronizationProviderResult
Defines a stop processing synchronization provider result.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opends.server.types.SynchronizationProviderResult
SynchronizationProviderResult.ContinueProcessing, SynchronizationProviderResult.StopProcessing
-
-
Constructor Summary
Constructors Constructor Description StopProcessing(ResultCode resultCode, org.forgerock.i18n.LocalizableMessage errorMessage)Construct a new stop processing synchronization provider result.StopProcessing(ResultCode resultCode, org.forgerock.i18n.LocalizableMessage errorMessage, DN matchedDN, List<String> referralURLs)Construct a new stop processing synchronization provider result.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontinueProcessing()Indicates whether processing on the associated operation should continue.org.forgerock.i18n.LocalizableMessagegetErrorMessage()Retrieves the error message ifPluginResult.OperationResult.continueProcessing()returnedfalse.DNgetMatchedDN()Retrieves the matched DN for the operation ifPluginResult.OperationResult.continueProcessing()returnedfalse.List<String>getReferralURLs()Retrieves the referral URLs for the operation ifPluginResult.OperationResult.continueProcessing()returnedfalse.ResultCodegetResultCode()Retrieves the result code for the operation ifPluginResult.OperationResult.continueProcessing()returnedfalse.StringtoString()
-
-
-
Constructor Detail
-
StopProcessing
public StopProcessing(ResultCode resultCode, org.forgerock.i18n.LocalizableMessage errorMessage, DN matchedDN, List<String> referralURLs)
Construct a new stop processing synchronization provider 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.
-
StopProcessing
public StopProcessing(ResultCode resultCode, org.forgerock.i18n.LocalizableMessage errorMessage)
Construct a new stop processing synchronization provider result.- Parameters:
resultCode- The result code for this result.errorMessage- An message explaining why processing should stop.
-
-
Method Detail
-
getResultCode
public ResultCode getResultCode()
Description copied from interface:PluginResult.OperationResultRetrieves the result code for the operation ifPluginResult.OperationResult.continueProcessing()returnedfalse.- Specified by:
getResultCodein interfacePluginResult.OperationResult- Returns:
- the result code for the operation or
nullif none is provided.
-
getMatchedDN
public DN getMatchedDN()
Description copied from interface:PluginResult.OperationResultRetrieves the matched DN for the operation ifPluginResult.OperationResult.continueProcessing()returnedfalse.- Specified by:
getMatchedDNin interfacePluginResult.OperationResult- Returns:
- the matched DN for the operation or
nullif none is provided.
-
getReferralURLs
public List<String> getReferralURLs()
Description copied from interface:PluginResult.OperationResultRetrieves the referral URLs for the operation ifPluginResult.OperationResult.continueProcessing()returnedfalse.- Specified by:
getReferralURLsin interfacePluginResult.OperationResult- Returns:
- the referral URLs for the operation or
nullif none is provided.
-
continueProcessing
public boolean continueProcessing()
Description copied from interface:PluginResult.OperationResultIndicates whether processing on the associated operation should continue.- Specified by:
continueProcessingin interfacePluginResult.OperationResult- Returns:
trueif processing on the associated operation should continue, orfalseif it should stop.
-
getErrorMessage
public org.forgerock.i18n.LocalizableMessage getErrorMessage()
Description copied from interface:PluginResult.OperationResultRetrieves the error message ifPluginResult.OperationResult.continueProcessing()returnedfalse.- Specified by:
getErrorMessagein interfacePluginResult.OperationResult- Returns:
- An error message explaining why processing should stop or
nullif none is provided.
-
-