Package com.axelor.workflow.migrate
Record Class MigrationReport.RowResult
java.lang.Object
java.lang.Record
com.axelor.workflow.migrate.MigrationReport.RowResult
- Record Components:
moved- runs re-entered on the target nodecancelled- runs given up for goodended- runs finished as a success cut shortraced- runs no longer parked when reached, such as by an approver or a due timerrefused- why the whole row was rejected before anything was touched, or nullremaining- runs of this row the chunk bound did not reach
- Enclosing class:
MigrationReport
public static record MigrationReport.RowResult(Integer revision, String nodeId, String splitNode, int moved, int cancelled, int ended, int raced, String refused, int remaining)
extends Record
One row's outcome.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thecancelledrecord component.intended()Returns the value of theendedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intmoved()Returns the value of themovedrecord component.nodeId()Returns the value of thenodeIdrecord component.intraced()Returns the value of theracedrecord component.refused()Returns the value of therefusedrecord component.static MigrationReport.RowResultrefused(MigrationRow row, String reason) intReturns the value of theremainingrecord component.revision()Returns the value of therevisionrecord component.Returns the value of thesplitNoderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RowResult
public RowResult(Integer revision, String nodeId, String splitNode, int moved, int cancelled, int ended, int raced, String refused, int remaining) Creates an instance of aRowResultrecord class.- Parameters:
revision- the value for therevisionrecord componentnodeId- the value for thenodeIdrecord componentsplitNode- the value for thesplitNoderecord componentmoved- the value for themovedrecord componentcancelled- the value for thecancelledrecord componentended- the value for theendedrecord componentraced- the value for theracedrecord componentrefused- the value for therefusedrecord componentremaining- the value for theremainingrecord component
-
-
Method Details
-
refused
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
revision
Returns the value of therevisionrecord component.- Returns:
- the value of the
revisionrecord component
-
nodeId
Returns the value of thenodeIdrecord component.- Returns:
- the value of the
nodeIdrecord component
-
splitNode
Returns the value of thesplitNoderecord component.- Returns:
- the value of the
splitNoderecord component
-
moved
public int moved()Returns the value of themovedrecord component.- Returns:
- the value of the
movedrecord component
-
cancelled
public int cancelled()Returns the value of thecancelledrecord component.- Returns:
- the value of the
cancelledrecord component
-
ended
public int ended()Returns the value of theendedrecord component.- Returns:
- the value of the
endedrecord component
-
raced
public int raced()Returns the value of theracedrecord component.- Returns:
- the value of the
racedrecord component
-
refused
Returns the value of therefusedrecord component.- Returns:
- the value of the
refusedrecord component
-
remaining
public int remaining()Returns the value of theremainingrecord component.- Returns:
- the value of the
remainingrecord component
-