Record Class EvaluatorResult
java.lang.Object
java.lang.Record
com.flowable.agent.engine.impl.evaluator.EvaluatorResult
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EvaluatorResultcompleted(boolean passed, Double score, Double scoreMin, Double scoreMax, String reason, String referenceScopeId, String referenceScopeType) endTime()Returns the value of theendTimerecord component.final booleanIndicates whether some other object is "equal to" this one.static EvaluatorResultfinal inthashCode()Returns a hash code value for this object.booleanpassed()Returns the value of thepassedrecord component.reason()Returns the value of thereasonrecord component.Returns the value of thereferenceScopeIdrecord component.Returns the value of thereferenceScopeTyperecord component.score()Returns the value of thescorerecord component.scoreMax()Returns the value of thescoreMaxrecord component.scoreMin()Returns the value of thescoreMinrecord component.Returns the value of thestartTimerecord component.final StringtoString()Returns a string representation of this record class.withTiming(Instant startTime, Instant endTime)
-
Constructor Details
-
EvaluatorResult
public EvaluatorResult(boolean passed, Double score, Double scoreMin, Double scoreMax, String reason, String referenceScopeId, String referenceScopeType, Instant startTime, Instant endTime) Creates an instance of aEvaluatorResultrecord class.- Parameters:
passed- the value for thepassedrecord componentscore- the value for thescorerecord componentscoreMin- the value for thescoreMinrecord componentscoreMax- the value for thescoreMaxrecord componentreason- the value for thereasonrecord componentreferenceScopeId- the value for thereferenceScopeIdrecord componentreferenceScopeType- the value for thereferenceScopeTyperecord componentstartTime- the value for thestartTimerecord componentendTime- the value for theendTimerecord component
-
-
Method Details
-
completed
-
errored
-
withTiming
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
passed
public boolean passed()Returns the value of thepassedrecord component.- Returns:
- the value of the
passedrecord component
-
score
Returns the value of thescorerecord component.- Returns:
- the value of the
scorerecord component
-
scoreMin
Returns the value of thescoreMinrecord component.- Returns:
- the value of the
scoreMinrecord component
-
scoreMax
Returns the value of thescoreMaxrecord component.- Returns:
- the value of the
scoreMaxrecord component
-
reason
Returns the value of thereasonrecord component.- Returns:
- the value of the
reasonrecord component
-
referenceScopeId
Returns the value of thereferenceScopeIdrecord component.- Returns:
- the value of the
referenceScopeIdrecord component
-
referenceScopeType
Returns the value of thereferenceScopeTyperecord component.- Returns:
- the value of the
referenceScopeTyperecord component
-
startTime
Returns the value of thestartTimerecord component.- Returns:
- the value of the
startTimerecord component
-
endTime
Returns the value of theendTimerecord component.- Returns:
- the value of the
endTimerecord component
-