Record Class ImportManifest.ConfigResourceGroup
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.importexport.ImportManifest.ConfigResourceGroup
- Record Components:
moduleId- module ID portion of the resource type.typeId- type ID portion of the resource type.categoryName- human-friendly category name for the UI, ornullwhen the resource type is not registered on the receiving gateway.singleton- true if the type is a singleton.items- individual resources of this type, one entry per defining collection in the archive.
- Enclosing class:
ImportManifest
public static record ImportManifest.ConfigResourceGroup(String moduleId, String typeId, @Nullable String categoryName, boolean singleton, List<ImportManifest.ResourceItem> items)
extends Record
A group of config resources sharing a
ResourceType.-
Constructor Summary
ConstructorsConstructorDescriptionConfigResourceGroup(String moduleId, String typeId, @Nullable String categoryName, boolean singleton, List<ImportManifest.ResourceItem> items) Creates an instance of aConfigResourceGrouprecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of thecategoryNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.items()Returns the value of theitemsrecord component.moduleId()Returns the value of themoduleIdrecord component.booleanReturns the value of thesingletonrecord component.final StringtoString()Returns a string representation of this record class.typeId()Returns the value of thetypeIdrecord component.
-
Constructor Details
-
ConfigResourceGroup
public ConfigResourceGroup(String moduleId, String typeId, @Nullable String categoryName, boolean singleton, List<ImportManifest.ResourceItem> items) Creates an instance of aConfigResourceGrouprecord class.- Parameters:
moduleId- the value for themoduleIdrecord componenttypeId- the value for thetypeIdrecord componentcategoryName- the value for thecategoryNamerecord componentsingleton- the value for thesingletonrecord componentitems- the value for theitemsrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
moduleId
-
typeId
-
categoryName
Returns the value of thecategoryNamerecord component.- Returns:
- the value of the
categoryNamerecord component
-
singleton
-
items
-