Record Class ExecutionInfo
java.lang.Object
java.lang.Record
org.graylog.plugins.views.search.rest.ExecutionInfo
-
Constructor Summary
ConstructorsConstructorDescriptionExecutionInfo(boolean done, boolean cancelled, boolean hasErrors) Creates an instance of aExecutionInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thecancelledrecord component.booleandone()Returns the value of thedonerecord component.final booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of thehasErrorsrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ExecutionInfo
public ExecutionInfo(boolean done, boolean cancelled, boolean hasErrors) Creates an instance of aExecutionInforecord class.- Parameters:
done- the value for thedonerecord componentcancelled- the value for thecancelledrecord componenthasErrors- the value for thehasErrorsrecord 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 with '=='. -
done
public boolean done()Returns the value of thedonerecord component.- Returns:
- the value of the
donerecord component
-
cancelled
public boolean cancelled()Returns the value of thecancelledrecord component.- Returns:
- the value of the
cancelledrecord component
-
hasErrors
public boolean hasErrors()Returns the value of thehasErrorsrecord component.- Returns:
- the value of the
hasErrorsrecord component
-