public abstract class AbstractNamedDiffable<T extends NamedDiffable<T>> extends java.lang.Object implements Diffable<T>, NamedWriteable
Writeable.Reader<V>, Writeable.Writer<V>
Constructor and Description |
---|
AbstractNamedDiffable() |
Modifier and Type | Method and Description |
---|---|
Diff<T> |
diff(T previousState)
Returns serializable object representing differences between this and previousState
|
T |
get() |
static <T extends NamedDiffable<T>> |
readDiffFrom(java.lang.Class<? extends T> tClass,
java.lang.String name,
StreamInput in) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getWriteableName
public Diff<T> diff(T previousState)
Diffable
diff
in interface Diffable<T extends NamedDiffable<T>>
public static <T extends NamedDiffable<T>> NamedDiff<T> readDiffFrom(java.lang.Class<? extends T> tClass, java.lang.String name, StreamInput in) throws java.io.IOException
java.io.IOException
public T get()