Package ch.njol.yggdrasil
Interface YggdrasilSerializable
- All Known Subinterfaces:
Color
,YggdrasilSerializable.YggdrasilExtendedSerializable
,YggdrasilSerializable.YggdrasilRobustSerializable
- All Known Implementing Classes:
ColorRGB
,Date
,Direction
,SkriptColor
,Time
,Timeperiod
,Timespan
public interface YggdrasilSerializable
Marks a class as serializable by Yggdrasil.
Enums don't have to implement this interface to be serializable, but can implement YggdrasilSerializable.YggdrasilRobustEnum
.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
A class that has transient fields or more generally wants to exactly define which fields to write to/read from stream should implement this interface.static interface
Provides a method to resolve missing enum constants.static interface
A class that has had fields added, changed, or removed from it should implement this interface to handle the now invalid/missing fields that may still be read from stream.