Package se.diabol.jenkins.pipeline.flow
Record Class DownstreamRuns.Started
java.lang.Object
java.lang.Record
se.diabol.jenkins.pipeline.flow.DownstreamRuns.Started
- Record Components:
flowNodeId- the flow node of the step that started it, or null when unknownjobFullName- the full name of the job startedbuildNumber- the build started, or null while it waits in the queue or when it was cancelled before it started
- Enclosing class:
DownstreamRuns
public static record DownstreamRuns.Started(String flowNodeId, String jobFullName, Integer buildNumber)
extends Record
A run started by another.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebuildNumberrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theflowNodeIdrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thejobFullNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Started
Creates an instance of aStartedrecord class.- Parameters:
flowNodeId- the value for theflowNodeIdrecord componentjobFullName- the value for thejobFullNamerecord componentbuildNumber- the value for thebuildNumberrecord 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). -
flowNodeId
Returns the value of theflowNodeIdrecord component.- Returns:
- the value of the
flowNodeIdrecord component
-
jobFullName
Returns the value of thejobFullNamerecord component.- Returns:
- the value of the
jobFullNamerecord component
-
buildNumber
Returns the value of thebuildNumberrecord component.- Returns:
- the value of the
buildNumberrecord component
-