Record Class ConfigLoadResult
java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.core.config.ConfigLoadResult
Result of loading config including validation warnings.
-
Constructor Summary
ConstructorsConstructorDescriptionConfigLoadResult(ExperimentConfig config, List<String> warnings) Creates an instance of aConfigLoadResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionconfig()Returns the value of theconfigrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
ConfigLoadResult
Creates an instance of aConfigLoadResultrecord class.- Parameters:
config- the value for theconfigrecord componentwarnings- the value for thewarningsrecord 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). -
config
Returns the value of theconfigrecord component.- Returns:
- the value of the
configrecord component
-
warnings
-