public interface SourceItemTransformerFactory
SourceItemTransformer
:s that can transform between
the supported getSupportedSourceItems(SyncFilter.SourceItemTransform)
to the specified getTargetItem()
.Modifier and Type | Method and Description |
---|---|
SourceItemTransformer |
create(Item sourceItemType,
SyncFilter.SourceItemTransform transform)
Create a source item transformed that can transform between the given
source item and the
getTargetItem() . |
List<Item> |
getSupportedSourceItems(SyncFilter.SourceItemTransform transform)
Get the supported source item types when transforming in the specified
direction.
|
Item |
getTargetItem()
Get the target item type of this transformer factory.
|
Item getTargetItem()
SourceItemTransformer.getTargetItemType()
.List<Item> getSupportedSourceItems(SyncFilter.SourceItemTransform transform)
create(Item, SyncFilter.SourceItemTransform)
method should
be able to create a SourceItemTransformer
for all of the item types
returned by this method.SourceItemTransformer create(Item sourceItemType, SyncFilter.SourceItemTransform transform)
getTargetItem()
. Calling this method
with an unsupported combination should result in a null return value.