Record Class ProjectMoveState
java.lang.Object
java.lang.Record
org.exoplatform.processes.model.ProjectMoveState
- Record Components:
seq- the move sequence, which each save changing the project increments: the pass's conditional writes compare itrequestedBy- the user id of the editor who changed the project, the user the pass acts asprojectId- the process's stored project, which the requests move toattempts- the failed attempts since the last save that changed the project
-
Constructor Summary
ConstructorsConstructorDescriptionProjectMoveState(long seq, String requestedBy, long projectId, int attempts) Creates an instance of aProjectMoveStaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionintattempts()Returns the value of theattemptsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longReturns the value of theprojectIdrecord component.Returns the value of therequestedByrecord component.longseq()Returns the value of theseqrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProjectMoveState
Creates an instance of aProjectMoveStaterecord class.- Parameters:
seq- the value for theseqrecord componentrequestedBy- the value for therequestedByrecord componentprojectId- the value for theprojectIdrecord componentattempts- the value for theattemptsrecord 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. -
seq
-
requestedBy
Returns the value of therequestedByrecord component.- Returns:
- the value of the
requestedByrecord component
-
projectId
-
attempts
-