Package jadex.bdi.runtime.impl
Record Class RPlan.ResumeCommandArgs
java.lang.Object
java.lang.Record
jadex.bdi.runtime.impl.RPlan.ResumeCommandArgs
- Enclosing class:
RPlan
-
Constructor Summary
ConstructorsConstructorDescriptionResumeCommandArgs
(Boolean donotify, Boolean abort, Exception exception) Creates an instance of aResumeCommandArgs
record class. -
Method Summary
Modifier and TypeMethodDescriptionabort()
Returns the value of theabort
record component.donotify()
Returns the value of thedonotify
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of theexception
record component.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ResumeCommandArgs
Creates an instance of aResumeCommandArgs
record class.- Parameters:
donotify
- the value for thedonotify
record componentabort
- the value for theabort
record componentexception
- the value for theexception
record 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)
. -
donotify
Returns the value of thedonotify
record component.- Returns:
- the value of the
donotify
record component
-
abort
Returns the value of theabort
record component.- Returns:
- the value of the
abort
record component
-
exception
Returns the value of theexception
record component.- Returns:
- the value of the
exception
record component
-