Record Class QueueSettingsResource.QueueSettings
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.gan.QueueSettingsResource.QueueSettings
- Enclosing class:
- QueueSettingsResource
-
Constructor Summary
ConstructorsConstructorDescriptionQueueSettings
(String queueId, int maxActive, long timeoutMillis, String friendlyName, String description) Creates an instance of aQueueSettings
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescription
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefriendlyName
record component.final int
hashCode()
Returns a hash code value for this object.int
Returns the value of themaxActive
record component.queueId()
Returns the value of thequeueId
record component.long
Returns the value of thetimeoutMillis
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
QueueSettings
public QueueSettings(String queueId, int maxActive, long timeoutMillis, String friendlyName, String description) Creates an instance of aQueueSettings
record class.- Parameters:
queueId
- the value for thequeueId
record componentmaxActive
- the value for themaxActive
record componenttimeoutMillis
- the value for thetimeoutMillis
record componentfriendlyName
- the value for thefriendlyName
record componentdescription
- the value for thedescription
record component
-
-
Method Details
-
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 '=='. -
queueId
Returns the value of thequeueId
record component.- Returns:
- the value of the
queueId
record component
-
maxActive
public int maxActive()Returns the value of themaxActive
record component.- Returns:
- the value of the
maxActive
record component
-
timeoutMillis
public long timeoutMillis()Returns the value of thetimeoutMillis
record component.- Returns:
- the value of the
timeoutMillis
record component
-
friendlyName
Returns the value of thefriendlyName
record component.- Returns:
- the value of the
friendlyName
record component
-
description
Returns the value of thedescription
record component.- Returns:
- the value of the
description
record component
-