Package org.apache.juneau.console.views
Record Class AsyncJob.Update
java.lang.Object
java.lang.Record
org.apache.juneau.console.views.AsyncJob.Update
- Record Components:
events- The new progress events since the caller's cursor. Nevernull .result- The terminal result, ornull if the job is still running.
- Enclosing class:
- AsyncJob
The result of null while the job is still running).
AsyncJob.awaitUpdate(int, Duration): the newly-available progress events and the terminal
result (-
Constructor Summary
ConstructorsConstructorDescriptionUpdate(List<String> events, ActionResult result) Creates an instance of aUpdaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.events()Returns the value of theeventsrecord component.final inthashCode()Returns a hash code value for this object.result()Returns the value of theresultrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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
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). -
events
Returns the value of theeventsrecord component.- Returns:
- the value of the
eventsrecord component
-
result
Returns the value of theresultrecord component.- Returns:
- the value of the
resultrecord component
-