Record Class SpecIssue
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.spec.SpecIssue
- Record Components:
severity-SpecIssue.Severity.ERRORmakes the spec unusable;SpecIssue.Severity.WARNINGdegrades a resultpath- where in the document, for exampleworkloads[1].clouds[0]message- what is wrong and how to fix it
One problem found by
DesignSpec.validate().-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSpecIssue(SpecIssue.Severity severity, String path, String message) Creates an instance of aSpecIssuerecord 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.message()Returns the value of themessagerecord component.path()Returns the value of thepathrecord component.severity()Returns the value of theseverityrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
SpecIssue
-
-
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). -
severity
-
path
-
message
-