Record Class DefaultPersistentFlavor<T extends PersistentData>

java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.storeforward.flavor.DefaultPersistentFlavor<T>
Type Parameters:
T - a subclass of PersistentData that is relevant to this flavor
Record Components:
signature - the unique signature for the flavor of persistent data
description - a localized string providing a description of the flavor
serializer - a PersistentSerializer suitable for serializing instances of type T
systemType - an optional SystemIdentifier if a system type is associated with this flavor
All Implemented Interfaces:
PersistentFlavor<T>

public record DefaultPersistentFlavor<T extends PersistentData>(@NonNull String signature, @NonNull LocalizedString description, @NonNull PersistentSerializer<T extends PersistentData,?> serializer, @NonNull Optional<SystemIdentifier> systemType, @NonNull Class<T extends PersistentData> dataClass) extends Record implements PersistentFlavor<T>
Default implementation of PersistentFlavor.

This record encapsulates signature, description of the persistent data flavor, a serializer to be used with the flavor, and an optional system type identifier.