Record Class ImportExportContributor.SelectableItem
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.importexport.ImportExportContributor.SelectableItem
- Record Components:
id- unique identifier within this contributor (e.g., tag provider name)label- human-readable label for the UIchildren- nested sub-items, or empty for leaf items
- Enclosing interface:
ImportExportContributor
public static record ImportExportContributor.SelectableItem(String id, String label, List<ImportExportContributor.SelectableItem> children)
extends Record
A selectable sub-item within a contributor. Displayed in the export/import UI as a checkbox
tree under the contributor's top-level entry. Selecting a parent node implies all children are
selected.
-
Constructor Summary
ConstructorsConstructorDescriptionSelectableItem(String id, String label) Create a leaf item with no children.SelectableItem(String id, String label, List<ImportExportContributor.SelectableItem> children) Creates an instance of aSelectableItemrecord class. -
Method Summary
Modifier and TypeMethodDescriptionchildren()Returns the value of thechildrenrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.label()Returns the value of thelabelrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SelectableItem
-
SelectableItem
public SelectableItem(String id, String label, List<ImportExportContributor.SelectableItem> children) Creates an instance of aSelectableItemrecord class.
-
-
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). -
id
-
label
-
children
-