Record Class WorkflowRunner.StepDto
java.lang.Object
java.lang.Record
com.scivicslab.workfloweditor.service.WorkflowRunner.StepDto
- Enclosing class:
WorkflowRunner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactions()Returns the value of theactionsrecord component.Returns the value of thebreakpointrecord component.delay()Returns the value of thedelayrecord component.final booleanIndicates whether some other object is "equal to" this one.from()Returns the value of thefromrecord component.final inthashCode()Returns a hash code value for this object.label()Returns the value of thelabelrecord component.note()Returns the value of thenoterecord component.to()Returns the value of thetorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
StepDto
public StepDto(String from, String to, String label, String note, Long delay, Boolean breakpoint, List<WorkflowRunner.ActionDto> actions) Creates an instance of aStepDtorecord class.- Parameters:
from- the value for thefromrecord componentto- the value for thetorecord componentlabel- the value for thelabelrecord componentnote- the value for thenoterecord componentdelay- the value for thedelayrecord componentbreakpoint- the value for thebreakpointrecord componentactions- the value for theactionsrecord component
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
from
Returns the value of thefromrecord component.- Returns:
- the value of the
fromrecord component
-
to
Returns the value of thetorecord component.- Returns:
- the value of the
torecord component
-
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-
note
Returns the value of thenoterecord component.- Returns:
- the value of the
noterecord component
-
delay
Returns the value of thedelayrecord component.- Returns:
- the value of the
delayrecord component
-
breakpoint
Returns the value of thebreakpointrecord component.- Returns:
- the value of the
breakpointrecord component
-
actions
Returns the value of theactionsrecord component.- Returns:
- the value of the
actionsrecord component
-