Record Class StageStatus.Faulted
java.lang.Object
java.lang.Record
com.inductiveautomation.eventstream.stage.StageStatus.Faulted
- Record Components:
throwable- Throwable that caused the caused fault
- All Implemented Interfaces:
StageStatus,Serializable
- Enclosing interface:
- StageStatus
public static record StageStatus.Faulted(Throwable throwable)
extends Record
implements StageStatus, Serializable
Exception was encountered during creation or startup of Stage.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.inductiveautomation.eventstream.stage.StageStatus
StageStatus.Disabled, StageStatus.Faulted, StageStatus.Good -
Field Summary
Fields inherited from interface com.inductiveautomation.eventstream.stage.StageStatus
DISABLED, GOOD -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Faulted
Creates an instance of aFaultedrecord class.- Parameters:
throwable- the value for thethrowablerecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
throwable
Returns the value of thethrowablerecord component.- Returns:
- the value of the
throwablerecord component
-