Record Class ConfigProblems
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.common.jsonschema.config.ConfigProblems
- Record Components:
problems- the problems found.
The collected results of validating a config object against a
ConfigSchema: one ConfigProblem per violation, ordered by path. An acceptable config yields no
ConfigProblems at all — ConfigSchema.validate(JsonElement) returns null — so an instance
always describes at least one problem.-
Constructor Summary
ConstructorsConstructorDescriptionConfigProblems(List<ConfigProblem> problems) Creates an instance of aConfigProblemsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.messages()Every problem's message, in path order.static ConfigProblemsof(ConfigProblem... problems) problems()Returns the value of theproblemsrecord component.All problems as one displayable string, one problem per line.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConfigProblems
Creates an instance of aConfigProblemsrecord class.- Parameters:
problems- the value for theproblemsrecord component
-
-
Method Details
-
of
-
messages
-
toDisplayString
All problems as one displayable string, one problem per line. -
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). -
problems
-