Record Class EffectStore.EffectCounts
java.lang.Object
java.lang.Record
com.kingsrook.qqq.backend.core.jobs.effects.EffectStore.EffectCounts
- Enclosing class:
EffectStore
public static record EffectStore.EffectCounts(int outstanding, int failed, int needsReview, int sent, String firstReview)
extends Record
Counts of a job's effects.
-
Constructor Summary
ConstructorsConstructorDescriptionEffectCounts(int outstanding, int failed, int needsReview, int sent, String firstReview) Creates an instance of aEffectCountsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intfailed()Returns the value of thefailedrecord component.Returns the value of thefirstReviewrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of theneedsReviewrecord component.intReturns the value of theoutstandingrecord component.intsent()Returns the value of thesentrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EffectCounts
Creates an instance of aEffectCountsrecord class.- Parameters:
outstanding- the value for theoutstandingrecord componentfailed- the value for thefailedrecord componentneedsReview- the value for theneedsReviewrecord componentsent- the value for thesentrecord componentfirstReview- the value for thefirstReviewrecord component
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
outstanding
public int outstanding()Returns the value of theoutstandingrecord component.- Returns:
- the value of the
outstandingrecord component
-
failed
public int failed()Returns the value of thefailedrecord component.- Returns:
- the value of the
failedrecord component
-
needsReview
public int needsReview()Returns the value of theneedsReviewrecord component.- Returns:
- the value of the
needsReviewrecord component
-
sent
public int sent()Returns the value of thesentrecord component.- Returns:
- the value of the
sentrecord component
-
firstReview
Returns the value of thefirstReviewrecord component.- Returns:
- the value of the
firstReviewrecord component
-