Record Class StepDescription
java.lang.Object
java.lang.Record
tech.illuin.pipeline.observer.descriptor.model.StepDescription
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecondition
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of theerrorHandler
record component.Returns the value of theexecutionWrapper
record component.final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.metrics()
Returns the value of themetrics
record component.boolean
pinned()
Returns the value of thepinned
record component.Returns the value of theresultEvaluator
record component.step()
Returns the value of thestep
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
StepDescription
public StepDescription(String id, Object step, boolean pinned, Object executionWrapper, Object condition, Object resultEvaluator, Object errorHandler, Map<String, Metric> metrics) Creates an instance of aStepDescription
record class.- Parameters:
id
- the value for theid
record componentstep
- the value for thestep
record componentpinned
- the value for thepinned
record componentexecutionWrapper
- the value for theexecutionWrapper
record componentcondition
- the value for thecondition
record componentresultEvaluator
- the value for theresultEvaluator
record componenterrorHandler
- the value for theerrorHandler
record componentmetrics
- the value for themetrics
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 '=='. -
id
Returns the value of theid
record component.- Returns:
- the value of the
id
record component
-
step
Returns the value of thestep
record component.- Returns:
- the value of the
step
record component
-
pinned
public boolean pinned()Returns the value of thepinned
record component.- Returns:
- the value of the
pinned
record component
-
executionWrapper
Returns the value of theexecutionWrapper
record component.- Returns:
- the value of the
executionWrapper
record component
-
condition
Returns the value of thecondition
record component.- Returns:
- the value of the
condition
record component
-
resultEvaluator
Returns the value of theresultEvaluator
record component.- Returns:
- the value of the
resultEvaluator
record component
-
errorHandler
Returns the value of theerrorHandler
record component.- Returns:
- the value of the
errorHandler
record component
-
metrics
Returns the value of themetrics
record component.- Returns:
- the value of the
metrics
record component
-