Record Class ProcessManagementService.ProcessView
java.lang.Object
java.lang.Record
org.chenile.orchestrator.process.configuration.management.ProcessManagementService.ProcessView
- Enclosing class:
ProcessManagementService
public static record ProcessManagementService.ProcessView(String id, String processType, String status, boolean leaf, int completedPercent, String parentId, String predecessorId, String triggerId, String description, Instant createdAt, Instant stateEnteredAt, Instant completedAt, String input, String output, int numSubProcesses, int numCompletedSubProcesses, Object errors)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final InstantThe field for thecompletedAtrecord component.private final intThe field for thecompletedPercentrecord component.private final InstantThe field for thecreatedAtrecord component.private final StringThe field for thedescriptionrecord component.private final ObjectThe field for theerrorsrecord component.private final StringThe field for theidrecord component.private final StringThe field for theinputrecord component.private final booleanThe field for theleafrecord component.private final intThe field for thenumCompletedSubProcessesrecord component.private final intThe field for thenumSubProcessesrecord component.private final StringThe field for theoutputrecord component.private final StringThe field for theparentIdrecord component.private final StringThe field for thepredecessorIdrecord component.private final StringThe field for theprocessTyperecord component.private final InstantThe field for thestateEnteredAtrecord component.private final StringThe field for thestatusrecord component.private final StringThe field for thetriggerIdrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionProcessView(String id, String processType, String status, boolean leaf, int completedPercent, String parentId, String predecessorId, String triggerId, String description, Instant createdAt, Instant stateEnteredAt, Instant completedAt, String input, String output, int numSubProcesses, int numCompletedSubProcesses, Object errors) Creates an instance of aProcessViewrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecompletedAtrecord component.intReturns the value of thecompletedPercentrecord component.Returns the value of thecreatedAtrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.errors()Returns the value of theerrorsrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.input()Returns the value of theinputrecord component.booleanleaf()Returns the value of theleafrecord component.intReturns the value of thenumCompletedSubProcessesrecord component.intReturns the value of thenumSubProcessesrecord component.(package private) static ProcessManagementService.ProcessViewoutput()Returns the value of theoutputrecord component.parentId()Returns the value of theparentIdrecord component.Returns the value of thepredecessorIdrecord component.Returns the value of theprocessTyperecord component.Returns the value of thestateEnteredAtrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetriggerIdrecord component.
-
Field Details
-
id
The field for theidrecord component. -
processType
The field for theprocessTyperecord component. -
status
The field for thestatusrecord component. -
leaf
private final boolean leafThe field for theleafrecord component. -
completedPercent
private final int completedPercentThe field for thecompletedPercentrecord component. -
parentId
The field for theparentIdrecord component. -
predecessorId
The field for thepredecessorIdrecord component. -
triggerId
The field for thetriggerIdrecord component. -
description
The field for thedescriptionrecord component. -
createdAt
The field for thecreatedAtrecord component. -
stateEnteredAt
The field for thestateEnteredAtrecord component. -
completedAt
The field for thecompletedAtrecord component. -
input
The field for theinputrecord component. -
output
The field for theoutputrecord component. -
numSubProcesses
private final int numSubProcessesThe field for thenumSubProcessesrecord component. -
numCompletedSubProcesses
private final int numCompletedSubProcessesThe field for thenumCompletedSubProcessesrecord component. -
errors
The field for theerrorsrecord component.
-
-
Constructor Details
-
ProcessView
public ProcessView(String id, String processType, String status, boolean leaf, int completedPercent, String parentId, String predecessorId, String triggerId, String description, Instant createdAt, Instant stateEnteredAt, Instant completedAt, String input, String output, int numSubProcesses, int numCompletedSubProcesses, Object errors) Creates an instance of aProcessViewrecord class.- Parameters:
id- the value for theidrecord componentprocessType- the value for theprocessTyperecord componentstatus- the value for thestatusrecord componentleaf- the value for theleafrecord componentcompletedPercent- the value for thecompletedPercentrecord componentparentId- the value for theparentIdrecord componentpredecessorId- the value for thepredecessorIdrecord componenttriggerId- the value for thetriggerIdrecord componentdescription- the value for thedescriptionrecord componentcreatedAt- the value for thecreatedAtrecord componentstateEnteredAt- the value for thestateEnteredAtrecord componentcompletedAt- the value for thecompletedAtrecord componentinput- the value for theinputrecord componentoutput- the value for theoutputrecord componentnumSubProcesses- the value for thenumSubProcessesrecord componentnumCompletedSubProcesses- the value for thenumCompletedSubProcessesrecord componenterrors- the value for theerrorsrecord component
-
-
Method Details
-
of
-
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. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
processType
Returns the value of theprocessTyperecord component.- Returns:
- the value of the
processTyperecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
leaf
public boolean leaf()Returns the value of theleafrecord component.- Returns:
- the value of the
leafrecord component
-
completedPercent
public int completedPercent()Returns the value of thecompletedPercentrecord component.- Returns:
- the value of the
completedPercentrecord component
-
parentId
Returns the value of theparentIdrecord component.- Returns:
- the value of the
parentIdrecord component
-
predecessorId
Returns the value of thepredecessorIdrecord component.- Returns:
- the value of the
predecessorIdrecord component
-
triggerId
Returns the value of thetriggerIdrecord component.- Returns:
- the value of the
triggerIdrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-
stateEnteredAt
Returns the value of thestateEnteredAtrecord component.- Returns:
- the value of the
stateEnteredAtrecord component
-
completedAt
Returns the value of thecompletedAtrecord component.- Returns:
- the value of the
completedAtrecord component
-
input
Returns the value of theinputrecord component.- Returns:
- the value of the
inputrecord component
-
output
Returns the value of theoutputrecord component.- Returns:
- the value of the
outputrecord component
-
numSubProcesses
public int numSubProcesses()Returns the value of thenumSubProcessesrecord component.- Returns:
- the value of the
numSubProcessesrecord component
-
numCompletedSubProcesses
public int numCompletedSubProcesses()Returns the value of thenumCompletedSubProcessesrecord component.- Returns:
- the value of the
numCompletedSubProcessesrecord component
-
errors
Returns the value of theerrorsrecord component.- Returns:
- the value of the
errorsrecord component
-
CHENILE