Record Class OpcBrowseTools.OpcConnectionRow
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.designer.ai.tool.OpcBrowseTools.OpcConnectionRow
- Enclosing class:
OpcBrowseTools
-
Constructor Summary
ConstructorsConstructorDescriptionOpcConnectionRow(String serverName, boolean enabled, @Nullable String state) Creates an instance of aOpcConnectionRowrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanenabled()Returns the value of theenabledrecord 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 theserverNamerecord component.@Nullable Stringstate()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OpcConnectionRow
Creates an instance of aOpcConnectionRowrecord class.- Parameters:
serverName- the value for theserverNamerecord componentenabled- the value for theenabledrecord componentstate- the value for thestaterecord 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. -
serverName
Returns the value of theserverNamerecord component.- Returns:
- the value of the
serverNamerecord component
-
enabled
public boolean enabled()Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-