Package org.opends.server.api.plugin
Class PluginResult.ImportLDIF
- java.lang.Object
-
- org.opends.server.api.plugin.PluginResult.ImportLDIF
-
- Enclosing class:
- PluginResult
public static final class PluginResult.ImportLDIF extends Object
Defines a LDIF plugin result for import from LDIF processing consisting of either continue, skip further plugins, or stop processing with an error message.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PluginResult.ImportLDIF
continueEntryProcessing()
Defines a continue processing LDIF import plugin result.boolean
continuePluginProcessing()
Whether to invoke the rest of the plugins.boolean
continueProcessing()
Whether to continue operation processing.LocalizableMessage
getErrorMessage()
Retrieves the error message ifcontinueProcessing()
returnedfalse
.static PluginResult.ImportLDIF
skipFurtherPluginProcesssing()
Defines a skip further plugin processing LDIF import plugin result.static PluginResult.ImportLDIF
stopEntryProcessing(LocalizableMessage errorMessage)
Defines a new stop processing LDIF import plugin result.
-
-
-
Method Detail
-
continueEntryProcessing
public static PluginResult.ImportLDIF continueEntryProcessing()
Defines a continue processing LDIF import plugin result.- Returns:
- a continue processing LDIF import plugin result.
-
skipFurtherPluginProcesssing
public static PluginResult.ImportLDIF skipFurtherPluginProcesssing()
Defines a skip further plugin processing LDIF import plugin result.- Returns:
- a skip further plugin processing LDIF import plugin result.
-
stopEntryProcessing
public static PluginResult.ImportLDIF stopEntryProcessing(LocalizableMessage errorMessage)
Defines a new stop processing LDIF import plugin result.- Parameters:
errorMessage
- An message explaining why processing should stop for the given entry.- Returns:
- a new stop processing LDIF import plugin result.
-
continueProcessing
public boolean continueProcessing()
Whether to continue operation processing.- Returns:
true
if processing should continue orfalse
otherwise.
-
continuePluginProcessing
public boolean continuePluginProcessing()
Whether to invoke the rest of the plugins.- Returns:
true
if the rest of the plugins should be invoked forfalse
to skip the rest of the plugins.
-
getErrorMessage
public LocalizableMessage getErrorMessage()
Retrieves the error message ifcontinueProcessing()
returnedfalse
.- Returns:
- An error message explaining why processing should stop or
null
if none is provided.
-
-