public class TemporalSourceOptions.TemporalSourceOptionsSerializer extends Object implements TransformationSourceOptions.TransformationSourceOptionsSerializer
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_SOURCE_TIME_DURATION |
static String |
PARAM_SOURCE_TIME_OFFSET |
Constructor and Description |
---|
TemporalSourceOptionsSerializer() |
Modifier and Type | Method and Description |
---|---|
TransformationSourceOptions |
deserialize(SerializedTransformationOptionsAccessor serializedOptions)
Gets the parameters from the serialized options accessor and builds a source options object.
|
void |
serialize(TransformationSourceOptions sourceOptions,
Map<String,Serializable> parameters)
Serializes the given transformation source options into the given parameter map.
|
public static final String PARAM_SOURCE_TIME_OFFSET
public static final String PARAM_SOURCE_TIME_DURATION
public TransformationSourceOptions deserialize(SerializedTransformationOptionsAccessor serializedOptions)
TransformationSourceOptions.TransformationSourceOptionsSerializer
deserialize
in interface TransformationSourceOptions.TransformationSourceOptionsSerializer
serializedOptions
- SerializedTransformationOptionsAccessorpublic void serialize(TransformationSourceOptions sourceOptions, Map<String,Serializable> parameters)
TransformationSourceOptions.TransformationSourceOptionsSerializer
serialize
in interface TransformationSourceOptions.TransformationSourceOptionsSerializer
sourceOptions
- TransformationSourceOptionsCopyright © 2005–2017 Alfresco Software. All rights reserved.