Record Class ImportExportDelegate.ResourceImportPath
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.importexport.ImportExportDelegate.ResourceImportPath
- Record Components:
resourcePath- the logical resource path (moduleId/typeId/name)collection- the collection name (e.g., "core", "PRODUCTION")
- Enclosing interface:
ImportExportDelegate<R>
public static record ImportExportDelegate.ResourceImportPath(ResourcePath resourcePath, String collection)
extends Record
Pairs a
ResourcePath with the collection it was found in within the .gwex ZIP.
Constructed by the manager from the ZIP directory structure and passed to ImportExportDelegate.parseImport(List, ResourceReader).-
Constructor Summary
ConstructorsConstructorDescriptionResourceImportPath(ResourcePath resourcePath, String collection) Creates an instance of aResourceImportPathrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecollectionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theresourcePathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ResourceImportPath
Creates an instance of aResourceImportPathrecord class.- Parameters:
resourcePath- the value for theresourcePathrecord 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). -
resourcePath
Returns the value of theresourcePathrecord component.- Returns:
- the value of the
resourcePathrecord component
-
collection
Returns the value of thecollectionrecord component.- Returns:
- the value of the
collectionrecord component
-