Record Class OnErrorConfig
java.lang.Object
java.lang.Record
com.inductiveautomation.eventstream.config.OnErrorConfig
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOnErrorConfig(boolean enabled, String userCode) Creates an instance of aOnErrorConfigrecord 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.final StringtoString()Returns a string representation of this record class.userCode()Returns the value of theuserCoderecord component.
-
Field Details
-
DISABLED
-
METHOD
-
-
Constructor Details
-
OnErrorConfig
Creates an instance of aOnErrorConfigrecord class.- Parameters:
enabled- the value for theenabledrecord componentuserCode- the value for theuserCoderecord component
-
-
Method Details
-
compileCode
-
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. -
enabled
public boolean enabled()Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-
userCode
Returns the value of theuserCoderecord component.- Returns:
- the value of the
userCoderecord component
-