public interface CloudObjectTranslator<T>
CloudObject which can be converted back
to the original object.| Modifier and Type | Method and Description |
|---|---|
String |
cloudObjectClassName()
Gets the class name that will represent the
CloudObject created by this CloudObjectTranslator. |
T |
fromCloudObject(CloudObject cloudObject)
Converts back into the original object from a provided
CloudObject. |
Class<? extends T> |
getSupportedClass()
Gets the class this
CloudObjectTranslator is capable of converting. |
CloudObject |
toCloudObject(T target)
Converts the provided object into an equivalent
CloudObject. |
CloudObject toCloudObject(T target)
CloudObject.T fromCloudObject(CloudObject cloudObject)
CloudObject.Class<? extends T> getSupportedClass()
CloudObjectTranslator is capable of converting.String cloudObjectClassName()
CloudObject created by this CloudObjectTranslator.Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.