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, or null when 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 Details

    • ConfigResourceGroup

      public ConfigResourceGroup(String moduleId, String typeId, @Nullable String categoryName, boolean singleton, List<ImportManifest.ResourceItem> items)
      Creates an instance of a ConfigResourceGroup record class.
      Parameters:
      moduleId - the value for the moduleId record component
      typeId - the value for the typeId record component
      categoryName - the value for the categoryName record component
      singleton - the value for the singleton record component
      items - the value for the items record component
  • Method Details

    • toString

      public final String toString()
      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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • moduleId

      public String moduleId()
      Returns the value of the moduleId record component.
      Returns:
      the value of the moduleId record component
    • typeId

      public String typeId()
      Returns the value of the typeId record component.
      Returns:
      the value of the typeId record component
    • categoryName

      public @Nullable String categoryName()
      Returns the value of the categoryName record component.
      Returns:
      the value of the categoryName record component
    • singleton

      public boolean singleton()
      Returns the value of the singleton record component.
      Returns:
      the value of the singleton record component
    • items

      Returns the value of the items record component.
      Returns:
      the value of the items record component