public interface ActivityObjectConverter<T> extends Serializable
Modifier and Type | Method and Description |
---|---|
T |
fromActivityObject(ActivityObject deserialized)
Converts the activity to a POJO representation.
|
Class |
requiredClass()
What class does this ActivityConverter require?
|
String |
serializationFormat()
Gets the supported content type that can be deserialized/serialized.
|
ActivityObject |
toActivityObject(T serialized)
Converts a POJO into an ActivityObject.
|
Class requiredClass()
String serializationFormat()
T fromActivityObject(ActivityObject deserialized) throws ActivityConversionException
deserialized
- the stringActivityConversionException
ActivityObject toActivityObject(T serialized) throws ActivityConversionException
serialized
- the string representationActivityConversionException
Copyright © 2018 The Apache Software Foundation. All rights reserved.