Record Class TriggerResult
java.lang.Object
java.lang.Record
org.chenile.trigger.model.TriggerResult
- All Implemented Interfaces:
ResponseHeadersAware
The accepted trigger. Its Location header points at the trigger's status.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTriggerResult(String triggerId) Creates an instance of aTriggerResultrecord 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.final StringtoString()Returns a string representation of this record class.Returns the value of thetriggerIdrecord component.
-
Field Details
-
triggerId
The field for thetriggerIdrecord component.
-
-
Constructor Details
-
TriggerResult
Creates an instance of aTriggerResultrecord class.- Parameters:
triggerId- the value for thetriggerIdrecord component
-
-
Method Details
-
getResponseHeaders
- Specified by:
getResponseHeadersin interfaceResponseHeadersAware
-
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). -
triggerId
Returns the value of thetriggerIdrecord component.- Returns:
- the value of the
triggerIdrecord component
-
CHENILE