Record Class ProjectScriptDiagnostic.Details.MessageHandler
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.common.script.ProjectScriptDiagnostic.Details.MessageHandler
- Record Components:
threadType- how the handler was configured to run:"Dedicated"or"Shared".
- All Implemented Interfaces:
ProjectScriptDiagnostic.Details
- Enclosing interface:
ProjectScriptDiagnostic.Details
public static record ProjectScriptDiagnostic.Details.MessageHandler(String threadType)
extends Record
implements ProjectScriptDiagnostic.Details
A message handler's threading configuration.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ProjectScriptDiagnostic.Details
ProjectScriptDiagnostic.Details.MessageHandler, ProjectScriptDiagnostic.Details.Schedule, ProjectScriptDiagnostic.Details.Timer -
Constructor Summary
ConstructorsConstructorDescriptionMessageHandler(String threadType) Creates an instance of aMessageHandlerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thethreadTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MessageHandler
Creates an instance of aMessageHandlerrecord class.- Parameters:
threadType- the value for thethreadTyperecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
threadType
Returns the value of thethreadTyperecord component.- Returns:
- the value of the
threadTyperecord component
-