Record Class DeviceParameterSeal.Opened
java.lang.Object
java.lang.Record
com.iizix.device.DeviceParameterSeal.Opened
- Record Components:
outcome- The outcome, never null.value- The parameter's value forDeviceParameterSeal.Outcome.SUCCESS, null otherwise.appID- The application ID the value was sealed for, forDeviceParameterSeal.Outcome.OTHER_APP; null otherwise.uuid- The device UUID the value was sealed on, forDeviceParameterSeal.Outcome.OTHER_DEVICE("{Unknown}"when a value of the form before this class carries none); null otherwise.cause- The failure forDeviceParameterSeal.Outcome.INVALID, null otherwise.
- Enclosing class:
DeviceParameterSeal
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionappID()Returns the value of theappIDrecord component.cause()Returns the value of thecauserecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.outcome()Returns the value of theoutcomerecord component.final StringtoString()Returns a string representation of this record class.uuid()Returns the value of theuuidrecord component.value()Returns the value of thevaluerecord component.
Constructor Details
Opened
public Opened(DeviceParameterSeal.Outcome outcome, String value, String appID, String uuid, Throwable cause) Creates an instance of aOpenedrecord class.
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).outcome
value
appID
uuid
cause