- java.lang.Object
- 
- java.lang.Enum<Snapshotable.SnapshotMode>
- 
- aeonics.util.Snapshotable.SnapshotMode
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<Snapshotable.SnapshotMode>
 - Enclosing interface:
- Snapshotable
 
 public static enum Snapshotable.SnapshotMode extends java.lang.Enum<Snapshotable.SnapshotMode> Defines the behavior of entities during snapshot and restore operations.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description FULLThe entity will be fully serialized and restored usingTemplate.create(Data).NONEThe entity will be excluded from snapshots entirely and will not be restored.UPDATEThe entity will be serialized and updated usingTemplate.update(Data, Entity).
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static Snapshotable.SnapshotModevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Snapshotable.SnapshotMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
FULLpublic static final Snapshotable.SnapshotMode FULL The entity will be fully serialized and restored usingTemplate.create(Data). Suitable for entities that need complete reinitialization during restore.
 - 
NONEpublic static final Snapshotable.SnapshotMode NONE The entity will be excluded from snapshots entirely and will not be restored. Suitable for transient or runtime-only entities.
 - 
UPDATEpublic static final Snapshotable.SnapshotMode UPDATE The entity will be serialized and updated usingTemplate.update(Data, Entity). Suitable for entities that should retain their existing identity but need updated state.
 
- 
 - 
Method Detail- 
valuespublic static Snapshotable.SnapshotMode[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Snapshotable.SnapshotMode c : Snapshotable.SnapshotMode.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static Snapshotable.SnapshotMode valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 
- 
 
-