Interface SerializedObject<T>
- All Known Implementing Classes:
Data, DefaultCasterChain.ConvertingSerializedObject, SerializedMessage
public interface SerializedObject<T>
-
Method Summary
-
Method Details
-
data
-
withData
Returns a newSerializedObjectwith the given data object. If the given data is the same instance as the current one,thismay be returned.- Parameters:
data- the new serialized payload- Returns:
- a new
SerializedObjectinstance. May bethisif unchanged
-
getRevision
default int getRevision()Returns the revision of the serialized object. -
getType
Returns the type identifier for the serialized payload.
-