Package org.opends.server.api.plugin
Class PluginResult.PreParse
- java.lang.Object
- 
- org.opends.server.api.plugin.PluginResult.PreParse
 
- 
- All Implemented Interfaces:
- PluginResult.OperationResult
 - Enclosing class:
- PluginResult
 
 public static final class PluginResult.PreParse extends Object implements PluginResult.OperationResult Defines a pre parse 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 SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PluginResult.PreParsecontinueOperationProcessing()Defines a continue processing pre parse plugin result.booleancontinuePluginProcessing()Whether to invoke the rest of the plugins.booleancontinueProcessing()Indicates whether processing on the associated operation should continue.ResultgetResult()The result for this plugin result.static PluginResult.PreParseskipFurtherPluginProcesssing()Defines a skip further plugin processing pre parse plugin result.static PluginResult.PreParsestopProcessing(ResultCode resultCode, LocalizableMessage errorMessage)Constructs a new stop processing pre parse plugin result.static PluginResult.PreParsestopProcessing(ResultCode resultCode, LocalizableMessage errorMessage, Dn matchedDN, List<String> referralURLs)Defines a new stop processing pre parse plugin result.
 
- 
- 
- 
Method Detail- 
continueOperationProcessingpublic static PluginResult.PreParse continueOperationProcessing() Defines a continue processing pre parse plugin result.- Returns:
- a continue processing pre parse plugin result.
 
 - 
skipFurtherPluginProcesssingpublic static PluginResult.PreParse skipFurtherPluginProcesssing() Defines a skip further plugin processing pre parse plugin result.- Returns:
- a skip further plugin processing pre parse plugin result.
 
 - 
stopProcessingpublic static PluginResult.PreParse stopProcessing(ResultCode resultCode, LocalizableMessage errorMessage, Dn matchedDN, List<String> referralURLs) Defines a new stop processing pre parse 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 pre parse plugin result.
 
 - 
stopProcessingpublic static PluginResult.PreParse stopProcessing(ResultCode resultCode, LocalizableMessage errorMessage) Constructs a new stop processing pre parse plugin result.- Parameters:
- resultCode- The result code for this result.
- errorMessage- An message explaining why processing should stop.
- Returns:
- a new stop processing pre parse plugin result.
 
 - 
continueProcessingpublic boolean continueProcessing() Description copied from interface:PluginResult.OperationResultIndicates whether processing on the associated operation should continue.- Specified by:
- continueProcessingin interface- PluginResult.OperationResult
- Returns:
- trueif processing on the associated operation should continue, or- falseif it should stop.
 
 - 
continuePluginProcessingpublic boolean continuePluginProcessing() Whether to invoke the rest of the plugins.- Returns:
- trueif the rest of the plugins should be invoked for- falseto skip the rest of the plugins.
 
 - 
getResultpublic Result getResult() Description copied from interface:PluginResult.OperationResultThe result for this plugin result.- Specified by:
- getResultin interface- PluginResult.OperationResult
- Returns:
- the result for this plugin result
 
 
- 
 
-