Record Class GatewayEventHandlerConfig
java.lang.Object
java.lang.Record
com.inductiveautomation.eventstream.config.handler.GatewayEventHandlerConfig
public record GatewayEventHandlerConfig(ExpressionValue project, ExpressionValue path, ExpressionValue payload, boolean acknowledge, String remoteServerId)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionGatewayEventHandlerConfig(ExpressionValue project, ExpressionValue path, ExpressionValue payload, boolean acknowledge, String remoteServerId) Creates an instance of aGatewayEventHandlerConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theacknowledgerecord component.final booleanIndicates whether some other object is "equal to" this one.static GatewayEventHandlerConfigfromJson(com.inductiveautomation.ignition.common.gson.JsonObject json) final inthashCode()Returns a hash code value for this object.path()Returns the value of thepathrecord component.payload()Returns the value of thepayloadrecord component.project()Returns the value of theprojectrecord component.Returns the value of theremoteServerIdrecord component.com.inductiveautomation.ignition.common.gson.JsonObjecttoJson()final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GatewayEventHandlerConfig
public GatewayEventHandlerConfig(ExpressionValue project, ExpressionValue path, ExpressionValue payload, boolean acknowledge, String remoteServerId) Creates an instance of aGatewayEventHandlerConfigrecord class.- Parameters:
project- the value for theprojectrecord componentpath- the value for thepathrecord componentpayload- the value for thepayloadrecord componentacknowledge- the value for theacknowledgerecord componentremoteServerId- the value for theremoteServerIdrecord component
-
-
Method Details
-
fromJson
public static GatewayEventHandlerConfig fromJson(@Nullable com.inductiveautomation.ignition.common.gson.JsonObject json) -
toJson
public com.inductiveautomation.ignition.common.gson.JsonObject toJson() -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
project
Returns the value of theprojectrecord component.- Returns:
- the value of the
projectrecord component
-
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
payload
Returns the value of thepayloadrecord component.- Returns:
- the value of the
payloadrecord component
-
acknowledge
public boolean acknowledge()Returns the value of theacknowledgerecord component.- Returns:
- the value of the
acknowledgerecord component
-
remoteServerId
Returns the value of theremoteServerIdrecord component.- Returns:
- the value of the
remoteServerIdrecord component
-