Record Class PipelineInputStep
java.lang.Object
java.lang.Record
io.jenkins.plugins.pipelinegraphview.utils.PipelineInputStep
- Record Components:
approvers- who the input'ssubmitterallows to approve it, ornullwhen anyone who can build the job can
public record PipelineInputStep(String message, String cancel, String id, String ok, boolean parameters, List<String> approvers)
extends Record
An input step that's waiting to be given.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapproversrecord component.cancel()Returns the value of thecancelrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.message()Returns the value of themessagerecord component.ok()Returns the value of theokrecord component.booleanReturns the value of theparametersrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PipelineInputStep
public PipelineInputStep(String message, String cancel, String id, String ok, boolean parameters, @CheckForNull List<String> approvers) Creates an instance of aPipelineInputSteprecord class.- Parameters:
message- the value for themessagerecord componentcancel- the value for thecancelrecord componentid- the value for theidrecord componentok- the value for theokrecord componentparameters- the value for theparametersrecord componentapprovers- the value for theapproversrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
cancel
Returns the value of thecancelrecord component.- Returns:
- the value of the
cancelrecord component
-
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
ok
Returns the value of theokrecord component.- Returns:
- the value of the
okrecord component
-
parameters
public boolean parameters()Returns the value of theparametersrecord component.- Returns:
- the value of the
parametersrecord component
-
approvers
Returns the value of theapproversrecord component.- Returns:
- the value of the
approversrecord component
-