Record Class PipelineInputStep
java.lang.Object
java.lang.Record
io.jenkins.plugins.pipelinegraphview.utils.PipelineInputStep
-
Constructor Summary
ConstructorsConstructorDescriptionPipelineInputStep
(String message, String cancel, String id, String ok, boolean parameters) Creates an instance of aPipelineInputStep
record class. -
Method Summary
Modifier and TypeMethodDescriptioncancel()
Returns the value of thecancel
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.message()
Returns the value of themessage
record component.ok()
Returns the value of theok
record component.boolean
Returns the value of theparameters
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
PipelineInputStep
Creates an instance of aPipelineInputStep
record class.- Parameters:
message
- the value for themessage
record componentcancel
- the value for thecancel
record componentid
- the value for theid
record componentok
- the value for theok
record componentparameters
- the value for theparameters
record 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 themessage
record component.- Returns:
- the value of the
message
record component
-
cancel
Returns the value of thecancel
record component.- Returns:
- the value of the
cancel
record component
-
id
Returns the value of theid
record component.- Returns:
- the value of the
id
record component
-
ok
Returns the value of theok
record component.- Returns:
- the value of the
ok
record component
-
parameters
public boolean parameters()Returns the value of theparameters
record component.- Returns:
- the value of the
parameters
record component
-