Record Class RuleSummary
java.lang.Object
java.lang.Record
com.netflix.nebula.archrules.gradle.RuleSummary
- All Implemented Interfaces:
Serializable
@Deprecated(forRemoval=true)
@NullMarked
public record RuleSummary(String ruleClass, String ruleName, com.tngtech.archunit.lang.Priority priority, int failures)
extends Record
implements Serializable
Deprecated, for removal: This API element is subject to removal in a future version.
Unused class
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRuleSummary(String ruleClass, String ruleName, com.tngtech.archunit.lang.Priority priority, int failures) Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of aRuleSummaryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanDeprecated, for removal: This API element is subject to removal in a future version.Indicates whether some other object is "equal to" this one.intfailures()Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thefailuresrecord component.final inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.Returns a hash code value for this object.com.tngtech.archunit.lang.Prioritypriority()Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thepriorityrecord component.Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of theruleClassrecord component.ruleName()Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of theruleNamerecord component.final StringtoString()Deprecated, for removal: This API element is subject to removal in a future version.Returns a string representation of this record class.
-
Constructor Details
-
RuleSummary
public RuleSummary(String ruleClass, String ruleName, com.tngtech.archunit.lang.Priority priority, int failures) Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of aRuleSummaryrecord class.- Parameters:
ruleClass- the value for theruleClassrecord componentruleName- the value for theruleNamerecord componentpriority- the value for thepriorityrecord componentfailures- the value for thefailuresrecord component
-
-
Method Details
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Deprecated, for removal: This API element is subject to removal in a future version.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Deprecated, for removal: This API element is subject to removal in a future version.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 '=='. -
ruleClass
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of theruleClassrecord component.- Returns:
- the value of the
ruleClassrecord component
-
ruleName
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of theruleNamerecord component.- Returns:
- the value of the
ruleNamerecord component
-
priority
public com.tngtech.archunit.lang.Priority priority()Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thepriorityrecord component.- Returns:
- the value of the
priorityrecord component
-
failures
public int failures()Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thefailuresrecord component.- Returns:
- the value of the
failuresrecord component
-