Record Class DefinitionValidationReport
java.lang.Object
java.lang.Record
com.iantapply.orchestra.administration.DefinitionValidationReport
- Record Components:
definitions- successfully validated definitionserrors- path-specific validation errors
-
Constructor Summary
ConstructorsConstructorDescriptionDefinitionValidationReport(List<com.iantapply.orchestra.api.EventDefinition> definitions, List<String> errors) Snapshots report collections. -
Method Summary
Modifier and TypeMethodDescriptionList<com.iantapply.orchestra.api.EventDefinition> Returns the value of thedefinitionsrecord component.final booleanIndicates whether some other object is "equal to" this one.errors()Returns the value of theerrorsrecord component.final inthashCode()Returns a hash code value for this object.summary()Returns one consistent human-readable validation summary.final StringtoString()Returns a string representation of this record class.booleanvalid()Returns whether every inspected definition was valid.
-
Constructor Details
-
DefinitionValidationReport
-
-
Method Details
-
valid
public boolean valid()Returns whether every inspected definition was valid.- Returns:
truewhen there are no errors
-
summary
Returns one consistent human-readable validation summary.- Returns:
- formatted validation summary
-
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). -
definitions
Returns the value of thedefinitionsrecord component.- Returns:
- the value of the
definitionsrecord component
-
errors
-