Record Class ImportExportDelegate.ResourceEntry<R>
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.importexport.ImportExportDelegate.ResourceEntry<R>
- Type Parameters:
R- the configuration type- Record Components:
resource- the raw resourceconfig- the decoded configuration object. If null, the resource is not importable as the config could not be decoded.collection- the collection name (e.g., "core", "PRODUCTION")
- Enclosing interface:
ImportExportDelegate<R>
-
Constructor Summary
ConstructorsConstructorDescriptionResourceEntry(Resource resource, @Nullable R config, String collection) Creates an instance of aResourceEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecollectionrecord component.@Nullable Rconfig()Returns the value of theconfigrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.resource()Returns the value of theresourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ResourceEntry
Creates an instance of aResourceEntryrecord class.- Parameters:
resource- the value for theresourcerecord componentconfig- the value for theconfigrecord componentcollection- the value for thecollectionrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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). -
resource
-
config
-
collection
Returns the value of thecollectionrecord component.- Returns:
- the value of the
collectionrecord component
-