Record Class IncomingConnectionResource
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.gan.IncomingConnectionResource
- Record Components:
connectionId
- The remote connection IDsecurityStatus
- The security status of the connection
public record IncomingConnectionResource(String connectionId, IncomingConnectionResource.SecurityStatus securityStatus)
extends Record
A resource that holds settings for an incoming Gateway Network connection. Notably, this is a named resource which
did not have a name in the previous PersistentRecord implementation, so the resource name is the system name of the
remote gateway.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final ResourceTypeMeta<IncomingConnectionResource>
static final ResourceType
-
Constructor Summary
ConstructorsConstructorDescriptionIncomingConnectionResource
(String connectionId, IncomingConnectionResource.SecurityStatus securityStatus) Creates an instance of aIncomingConnectionResource
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconnectionId
record component.final boolean
Indicates whether some other object is "equal to" this one.com.inductiveautomation.metro.api.RemoteSystemId
final int
hashCode()
Returns a hash code value for this object.Returns the value of thesecurityStatus
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
INCOMING_CONNECTIONS
- See Also:
-
RESOURCE_TYPE
-
META
-
-
Constructor Details
-
IncomingConnectionResource
public IncomingConnectionResource(String connectionId, IncomingConnectionResource.SecurityStatus securityStatus) Creates an instance of aIncomingConnectionResource
record class.- Parameters:
connectionId
- the value for theconnectionId
record componentsecurityStatus
- the value for thesecurityStatus
record component
-
-
Method Details
-
getConnectionId
public com.inductiveautomation.metro.api.RemoteSystemId getConnectionId() -
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. -
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. -
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)
. -
connectionId
Returns the value of theconnectionId
record component.- Returns:
- the value of the
connectionId
record component
-
securityStatus
Returns the value of thesecurityStatus
record component.- Returns:
- the value of the
securityStatus
record component
-