Record Class GeneratedCodeClassification
java.lang.Object
java.lang.Record
dev.archunitjava.model.GeneratedCodeClassification
public record GeneratedCodeClassification(boolean generated, List<GeneratedCodeSignal> signals)
extends Record
Conservative generated-code decision with reviewable supporting signals.
-
Constructor Summary
ConstructorsConstructorDescriptionGeneratedCodeClassification(boolean generated, List<GeneratedCodeSignal> signals) Creates an instance of aGeneratedCodeClassificationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of thegeneratedrecord component.final inthashCode()Returns a hash code value for this object.signals()Returns the value of thesignalsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GeneratedCodeClassification
Creates an instance of aGeneratedCodeClassificationrecord class.- Parameters:
generated- the value for thegeneratedrecord componentsignals- the value for thesignalsrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
generated
public boolean generated()Returns the value of thegeneratedrecord component.- Returns:
- the value of the
generatedrecord component
-
signals
Returns the value of thesignalsrecord component.- Returns:
- the value of the
signalsrecord component
-