Record Class AnnotationHistoricalData
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.storeforward.deprecated.AnnotationHistoricalData
- All Implemented Interfaces:
HistoricalData
,Serializable
@Deprecated(since="8.3.0")
public record AnnotationHistoricalData(List<Annotation> data)
extends Record
implements HistoricalData
Deprecated.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Deprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Deprecated.Creates an instance of aAnnotationHistoricalData
record class. -
Method Summary
Modifier and TypeMethodDescriptiondata()
Deprecated.Returns the value of thedata
record component.final boolean
Deprecated.Indicates whether some other object is "equal to" this one.int
Deprecated.Retrieves the count of data entries in the historical data.Deprecated.Retrieves the flavor of the historical data.Deprecated.Retrieves the logger name associated with the historical data, if any.Deprecated.Retrieves the signature of the historical data.final int
hashCode()
Deprecated.Returns a hash code value for this object.final String
toString()
Deprecated.Returns a string representation of this record class.Deprecated.Attempts to upgrade the historical data to persistent data using the specified engine ID if necessary.
-
Field Details
-
LEGACY_CLASS_PATH
Deprecated.
-
-
Constructor Details
-
AnnotationHistoricalData
public AnnotationHistoricalData()Deprecated. -
AnnotationHistoricalData
Deprecated.Creates an instance of aAnnotationHistoricalData
record class.- Parameters:
data
- the value for thedata
record component
-
-
Method Details
-
getFlavor
Deprecated.Description copied from interface:HistoricalData
Retrieves the flavor of the historical data.- Specified by:
getFlavor
in interfaceHistoricalData
- Returns:
- the flavor of the historical data
-
getSignature
Deprecated.Description copied from interface:HistoricalData
Retrieves the signature of the historical data.- Specified by:
getSignature
in interfaceHistoricalData
- Returns:
- the signature of the historical data
-
getDataCount
public int getDataCount()Deprecated.Description copied from interface:HistoricalData
Retrieves the count of data entries in the historical data.- Specified by:
getDataCount
in interfaceHistoricalData
- Returns:
- the count of data entries
-
getLoggerName
Deprecated.Description copied from interface:HistoricalData
Retrieves the logger name associated with the historical data, if any.- Specified by:
getLoggerName
in interfaceHistoricalData
- Returns:
- the logger name, or null if none is associated
-
upgrade
Deprecated.Description copied from interface:HistoricalData
Attempts to upgrade the historical data to persistent data using the specified engine ID if necessary.- Specified by:
upgrade
in interfaceHistoricalData
- Parameters:
engineId
- the engine ID to use for the upgrade if necessary- Returns:
- the upgraded persistent data
-
toString
Deprecated.Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Deprecated.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Deprecated.Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
data
Deprecated.Returns the value of thedata
record component.- Returns:
- the value of the
data
record component
-