public abstract static class BuildFileManifestPojoizer.PojoTransformer extends Object
BuildFileManifest
protocol.Constructor and Description |
---|
PojoTransformer() |
Modifier and Type | Method and Description |
---|---|
abstract Class<?> |
getClazz()
Return a type that transformer is able to transform from; the real object should be
assignable to this class, so base classes and interfaces can be used too
|
abstract java.util.function.Function<Object,Object> |
getTransformFunction()
Function that transforms a parser object to POJO object
|
static BuildFileManifestPojoizer.PojoTransformer |
of(Class<?> clazz,
java.util.function.Function<Object,Object> transformFunction) |
public abstract Class<?> getClazz()
public abstract java.util.function.Function<Object,Object> getTransformFunction()
public static BuildFileManifestPojoizer.PojoTransformer of(Class<?> clazz, java.util.function.Function<Object,Object> transformFunction)