public interface ValueTransformer extends com.google.common.base.Function<Object,Object>
You should return CANNOT_HANDLE in apply(Object) when implemented
transformer cannot transform given value.
| Modifier and Type | Field and Description |
|---|---|
static Object |
CANNOT_HANDLE |
| Modifier and Type | Method and Description |
|---|---|
Object |
apply(Object from)
Transform given object into other representation, that can be used as input for field value generators.
|
static final Object CANNOT_HANDLE
Object apply(@Nullable Object from)
apply in interface com.google.common.base.Function<Object,Object>from - Source object.CANNOT_HANDLE when given value cannot be transformed.Copyright © 2017 Atlassian. All rights reserved.