Package org.opends.server.api.plugin
Record Class PluginResult.ImportLDIF
java.lang.Object
java.lang.Record
org.opends.server.api.plugin.PluginResult.ImportLDIF
- Record Components:
continueProcessing
- Whether to continue operation processingcontinuePluginProcessing
- Whether to invoke the rest of the pluginserrorMessage
- A message explaining why operation processing should stop
- Enclosing class:
- PluginResult
public static record PluginResult.ImportLDIF(boolean continueProcessing, boolean continuePluginProcessing, LocalizableMessage errorMessage)
extends Record
Defines a LDIF plugin result for import from LDIF processing consisting of either continue, skip further plugins,
or stop processing with an error message.
-
Constructor Summary
ConstructorDescriptionImportLDIF
(boolean continueProcessing, boolean continuePluginProcessing, LocalizableMessage errorMessage) Creates an instance of aImportLDIF
record class. -
Method Summary
Modifier and TypeMethodDescriptionstatic PluginResult.ImportLDIF
Defines a continue processing LDIF import plugin result.boolean
Returns the value of thecontinuePluginProcessing
record component.boolean
Returns the value of thecontinueProcessing
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of theerrorMessage
record component.final int
hashCode()
Returns a hash code value for this object.static PluginResult.ImportLDIF
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.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ImportLDIF
public ImportLDIF(boolean continueProcessing, boolean continuePluginProcessing, LocalizableMessage errorMessage) Creates an instance of aImportLDIF
record class.- Parameters:
continueProcessing
- the value for thecontinueProcessing
record componentcontinuePluginProcessing
- the value for thecontinuePluginProcessing
record componenterrorMessage
- the value for theerrorMessage
record component
-
-
Method Details
-
continueEntryProcessing
Defines a continue processing LDIF import plugin result.- Returns:
- a continue processing LDIF import plugin result.
-
skipFurtherPluginProcessing
Defines a skip further plugin processing LDIF import plugin result.- Returns:
- a skip further plugin processing LDIF import plugin result.
-
stopEntryProcessing
Defines a new stop processing LDIF import plugin result.- Parameters:
errorMessage
- A message explaining why processing should stop for the given entry.- Returns:
- a new stop processing LDIF import plugin result.
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
continueProcessing
public boolean continueProcessing()Returns the value of thecontinueProcessing
record component.- Returns:
- the value of the
continueProcessing
record component
-
continuePluginProcessing
public boolean continuePluginProcessing()Returns the value of thecontinuePluginProcessing
record component.- Returns:
- the value of the
continuePluginProcessing
record component
-
errorMessage
Returns the value of theerrorMessage
record component.- Returns:
- the value of the
errorMessage
record component
-