public class JEXLItemTransformerImpl extends Object implements JEXLItemTransformer
Constructor and Description |
---|
JEXLItemTransformerImpl() |
Modifier and Type | Method and Description |
---|---|
Pair<AttrSchemaType,List<PlainAttrValue>> |
beforePropagation(Item item,
Entity entity,
AttrSchemaType schemaType,
List<PlainAttrValue> values)
Invoked while preparing attribute values to be sent out to external resource during propagation.
|
List<Object> |
beforePull(Item item,
EntityTO entityTO,
List<Object> values)
Invoked while reading attribute values from external resource during pull.
|
void |
setPropagationJEXL(String propagationJEXL) |
void |
setPullJEXL(String pullJEXL) |
public void setPropagationJEXL(String propagationJEXL)
setPropagationJEXL
in interface JEXLItemTransformer
public void setPullJEXL(String pullJEXL)
setPullJEXL
in interface JEXLItemTransformer
public Pair<AttrSchemaType,List<PlainAttrValue>> beforePropagation(Item item, Entity entity, AttrSchemaType schemaType, List<PlainAttrValue> values)
ItemTransformer
beforePropagation
in interface ItemTransformer
item
- mapping itementity
- entityschemaType
- schema typevalues
- original valuespublic List<Object> beforePull(Item item, EntityTO entityTO, List<Object> values)
ItemTransformer
beforePull
in interface ItemTransformer
item
- mapping itementityTO
- entityvalues
- original valuesCopyright © 2010–2023 The Apache Software Foundation. All rights reserved.