Interface EntryTransformation
- All Superinterfaces:
LDIFReaderEntryTranslator,LDIFWriterEntryTranslator
- All Known Implementing Classes:
AddAttributeTransformation,ExcludeAllEntriesTransformation,ExcludeAttributeTransformation,ExcludeEntryTransformation,FlattenSubtreeTransformation,MoveSubtreeTransformation,RedactAttributeTransformation,RenameAttributeTransformation,ReplaceAttributeTransformation,ReplaceWithCounterTransformation,ScrambleAttributeTransformation
@Extensible
@ThreadSafety(level=INTERFACE_THREADSAFE)
public interface EntryTransformation
extends LDIFReaderEntryTranslator, LDIFWriterEntryTranslator
This class defines an API that may be used to apply some kind of
transformation to an entry to alter its contents or suppress it from further
processing.
-
Method Summary
Modifier and TypeMethodDescriptiontransformEntry(Entry entry) Applies an appropriate transformation to the provided entry.Methods inherited from interface com.unboundid.ldif.LDIFReaderEntryTranslator
translateMethods inherited from interface com.unboundid.ldif.LDIFWriterEntryTranslator
translateEntryToWrite
-
Method Details
-
transformEntry
Applies an appropriate transformation to the provided entry.- Parameters:
entry- The entry to transform.- Returns:
- A copy of the entry with any appropriate transformation applied,
the original entry if no transformations were necessary, or
nullif the entry should be suppressed.
-