Record Class HelpBundleSyncAction.Result
java.lang.Object
java.lang.Record
com.kingsrook.qqq.backend.core.actions.help.HelpBundleSyncAction.Result
- All Implemented Interfaces:
Serializable
- Enclosing class:
HelpBundleSyncAction
public static record HelpBundleSyncAction.Result(int inserted, int updated, int upstreamChanged, int retired, int deleted, int unchanged)
extends Record
implements Serializable
Counts describe planned/applied work; upstreamChanged includes pending review.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionResult(int inserted, int updated, int upstreamChanged, int retired, int deleted, int unchanged) Creates an instance of aResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintdeleted()Returns the value of thedeletedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intinserted()Returns the value of theinsertedrecord component.intretired()Returns the value of theretiredrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of theunchangedrecord component.intupdated()Returns the value of theupdatedrecord component.intReturns the value of theupstreamChangedrecord component.
-
Constructor Details
-
Result
public Result(int inserted, int updated, int upstreamChanged, int retired, int deleted, int unchanged) Creates an instance of aResultrecord class.- Parameters:
inserted- the value for theinsertedrecord componentupdated- the value for theupdatedrecord componentupstreamChanged- the value for theupstreamChangedrecord componentretired- the value for theretiredrecord componentdeleted- the value for thedeletedrecord componentunchanged- the value for theunchangedrecord 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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
inserted
public int inserted()Returns the value of theinsertedrecord component.- Returns:
- the value of the
insertedrecord component
-
updated
public int updated()Returns the value of theupdatedrecord component.- Returns:
- the value of the
updatedrecord component
-
upstreamChanged
public int upstreamChanged()Returns the value of theupstreamChangedrecord component.- Returns:
- the value of the
upstreamChangedrecord component
-
retired
public int retired()Returns the value of theretiredrecord component.- Returns:
- the value of the
retiredrecord component
-
deleted
public int deleted()Returns the value of thedeletedrecord component.- Returns:
- the value of the
deletedrecord component
-
unchanged
public int unchanged()Returns the value of theunchangedrecord component.- Returns:
- the value of the
unchangedrecord component
-