Record Class AutoconfigRunState.CandidateView
java.lang.Object
java.lang.Record
es.urjc.etsii.grafo.autoconfig.service.AutoconfigRunState.CandidateView
- Enclosing class:
AutoconfigRunState
-
Constructor Summary
ConstructorsConstructorDescriptionCandidateView(String configurationId, Map<String, String> parameters, tools.jackson.databind.JsonNode algorithm, String decodeError, AutoconfigRunState.CandidateEvaluationCounts evaluations) Creates an instance of aCandidateViewrecord class. -
Method Summary
Modifier and TypeMethodDescriptiontools.jackson.databind.JsonNodeReturns the value of thealgorithmrecord component.Returns the value of theconfigurationIdrecord component.Returns the value of thedecodeErrorrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theevaluationsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theparametersrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CandidateView
public CandidateView(String configurationId, Map<String, String> parameters, tools.jackson.databind.JsonNode algorithm, String decodeError, AutoconfigRunState.CandidateEvaluationCounts evaluations) Creates an instance of aCandidateViewrecord class.- Parameters:
configurationId- the value for theconfigurationIdrecord componentparameters- the value for theparametersrecord componentalgorithm- the value for thealgorithmrecord componentdecodeError- the value for thedecodeErrorrecord componentevaluations- the value for theevaluationsrecord component
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
configurationId
Returns the value of theconfigurationIdrecord component.- Returns:
- the value of the
configurationIdrecord component
-
parameters
-
algorithm
public tools.jackson.databind.JsonNode algorithm()Returns the value of thealgorithmrecord component.- Returns:
- the value of the
algorithmrecord component
-
decodeError
Returns the value of thedecodeErrorrecord component.- Returns:
- the value of the
decodeErrorrecord component
-
evaluations
Returns the value of theevaluationsrecord component.- Returns:
- the value of the
evaluationsrecord component
-