Index
All Classes and Interfaces|All Packages
C
- com.aim2be.platform.archunit - package com.aim2be.platform.archunit
- count() - Method in record class com.aim2be.platform.archunit.NoBlanketCatchArchTest.WarnResult
-
Returns the value of the
countrecord component.
E
- entitiesMustCarryVersion - Static variable in class com.aim2be.platform.archunit.EntityVersionParityArchTest
-
The shared rule.
- entitiesMustCarryVersion() - Static method in class com.aim2be.platform.archunit.EntityVersionParity
-
Builds the ArchRule.
- EntityVersionParity - Class in com.aim2be.platform.archunit
-
ArchUnit rule enforcing the
@Entity→@Versionparity invariant from ADR-0001 §1.4. - EntityVersionParityArchTest - Class in com.aim2be.platform.archunit
-
Sample ArchUnit test class that consumers extend or copy.
- EntityVersionParityArchTest() - Constructor for class com.aim2be.platform.archunit.EntityVersionParityArchTest
- equals(Object) - Method in record class com.aim2be.platform.archunit.NoBlanketCatchArchTest.WarnResult
-
Indicates whether some other object is "equal to" this one.
- evaluate(JavaClasses) - Static method in class com.aim2be.platform.archunit.NoBlanketCatchArchTest
-
Evaluates
NoBlanketCatch.noBlanketCatchOutsideBoundary()ONCE and returns both the violationcountand the formattedreportin a singleNoBlanketCatchArchTest.WarnResult. - evaluateForWarning(JavaClasses) - Static method in class com.aim2be.platform.archunit.NoBlanketCatchArchTest
-
Evaluates
NoBlanketCatch.noBlanketCatchOutsideBoundary()against the given classes and returns the formatted failure report, or an empty string when there are no violations.
H
- hashCode() - Method in record class com.aim2be.platform.archunit.NoBlanketCatchArchTest.WarnResult
-
Returns a hash code value for this object.
N
- NoBlanketCatch - Class in com.aim2be.platform.archunit
-
ArchUnit rule enforcing ADR-0013 §3: no blanket
catch (Exception)/catch (Throwable)/catch (RuntimeException)outside the top-level request boundary. - NoBlanketCatchArchTest - Class in com.aim2be.platform.archunit
-
Consumer-facing helper + template for
NoBlanketCatch. - NoBlanketCatchArchTest.WarnResult - Record Class in com.aim2be.platform.archunit
-
Immutable carrier for a single rule evaluation — both the violation
count(for a ratchet assertion) and the formattedreport(for warn-mode logging), produced by one scan. - noBlanketCatchOutsideBoundary() - Static method in class com.aim2be.platform.archunit.NoBlanketCatch
-
Builds the rule.
R
- report() - Method in record class com.aim2be.platform.archunit.NoBlanketCatchArchTest.WarnResult
-
Returns the value of the
reportrecord component.
T
- toString() - Method in record class com.aim2be.platform.archunit.NoBlanketCatchArchTest.WarnResult
-
Returns a string representation of this record class.
V
- violationCount(JavaClasses) - Static method in class com.aim2be.platform.archunit.NoBlanketCatchArchTest
-
Counts the blanket-catch violations in the given classes — the stable, non-string-parsed count consumers need for a ratchet assertion: pin the W1 baseline and assert
violationCount(...) <=that baseline so existing debt is tolerated while NEW blanket catches fail the build.
W
- WarnResult(int, String) - Constructor for record class com.aim2be.platform.archunit.NoBlanketCatchArchTest.WarnResult
-
Enforces the documented invariants:
count >= 0,reportnon-null.
All Classes and Interfaces|All Packages