Record Class PipelineInputStep
java.lang.Object
java.lang.Record
io.jenkins.plugins.pipelinegraphview.utils.PipelineInputStep
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPipelineInputStep(String message, String cancel, String id, String ok, boolean parameters) Creates an instance of aPipelineInputSteprecord class. -
Method Summary
Modifier and TypeMethodDescriptioncancel()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
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 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
-