Uses of Interface
dev.archunitjava.rules.ArchitectureRule
Packages that use ArchitectureRule
Package
Description
-
Uses of ArchitectureRule in dev.archunitjava.cli
Methods in dev.archunitjava.cli that return types with arguments of type ArchitectureRuleModifier and TypeMethodDescriptionstatic List<ArchitectureRule> CliRuleFactory.createRules(CliConfiguration configuration, TypeModelResult model, DependencyGraph graph) -
Uses of ArchitectureRule in dev.archunitjava.junit
Method parameters in dev.archunitjava.junit with type arguments of type ArchitectureRuleModifier and TypeMethodDescriptionstatic List<ArchitectureTestCase> ArchitectureTestCases.forRules(Collection<? extends ArchitectureRule> rules) static List<ArchitectureTestCase> ArchitectureTestCases.forRules(Collection<? extends ArchitectureRule> rules, CheckOptions options, ResultRenderLimits limits) -
Uses of ArchitectureRule in dev.archunitjava.metrics
Methods in dev.archunitjava.metrics that return ArchitectureRuleModifier and TypeMethodDescriptionstatic ArchitectureRuleMetricThresholdRules.enforce(Collection<MetricSample> samples, MetricThreshold threshold) -
Uses of ArchitectureRule in dev.archunitjava.presets
Methods in dev.archunitjava.presets that return types with arguments of type ArchitectureRuleModifier and TypeMethodDescriptionArchitecturePreset.rules()Expands every recipe to a normal independently decoratable architecture rule. -
Uses of ArchitectureRule in dev.archunitjava.rules
Methods in dev.archunitjava.rules that return ArchitectureRuleModifier and TypeMethodDescriptionstatic ArchitectureRuleMemberAccessRules.accesses(TypeModelResult model, MemberSelector callers, MemberSelector targets, MemberAccessRuleSpec spec) static ArchitectureRuleArchitectureRules.define(String semanticIdentity, String description, RuleEvaluation evaluation) static ArchitectureRuleModuleDescriptorRules.exports(TypeModelResult model, ModuleSelector modules, JavaPattern packages, ModulePackageRuleSpec spec, NonExplicitModulePolicy nonExplicitPolicy) static ArchitectureRuleLayerRules.isolated(LayerModel layers, DependencyGraph graph, LayerSelector isolated) static ArchitectureRuleLayerRules.isolated(LayerModel layers, DependencyGraph graph, LayerSelector isolated, Set<DependencyKind> includedKinds) static ArchitectureRulePlantUmlRules.layers(TypeModelResult model, LayerModel layers, DependencyGraph graph, PlantUmlDiagram diagram) static ArchitectureRulePlantUmlRules.layers(TypeModelResult model, LayerModel layers, DependencyGraph graph, PlantUmlDiagram diagram, PlantUmlAdherenceOptions options) static ArchitectureRuleLayerRules.mayOnlyAccess(LayerModel layers, DependencyGraph graph, LayerSelector origins, LayerSelector allowedTargets) static ArchitectureRuleLayerRules.mayOnlyAccess(LayerModel layers, DependencyGraph graph, LayerSelector origins, LayerSelector allowedTargets, Set<DependencyKind> includedKinds) static ArchitectureRuleAnnotationRules.members(TypeModelResult model, MemberSelector subjects, AnnotationRuleSpec spec) static ArchitectureRuleNamingRules.members(TypeModelResult model, MemberSelector selector, NamingTarget target, JavaPattern pattern, PatternRuleMode mode) static ArchitectureRuleNamingRules.members(TypeModelResult model, MemberSelector selector, NamingTarget target, JavaPattern pattern, PatternRuleMode mode, NamingRuleOptions options) static ArchitectureRuleCoverageRules.modules(TypeModelResult model, ModuleSelector subjects, ModuleSelector exclusions, Collection<ModuleCoveragePolicy> policies) static ArchitectureRuleCoverageRules.modules(TypeModelResult model, ModuleSelector subjects, Collection<ModuleCoveragePolicy> policies) static ArchitectureRuleSliceRules.mutuallyIndependent(SliceModel slices, DependencyGraph graph, SliceSelector selected) static ArchitectureRuleSliceRules.mutuallyIndependent(SliceModel slices, DependencyGraph graph, SliceSelector selected, Set<DependencyKind> includedKinds) static ArchitectureRuleLayerRules.noAccess(LayerModel layers, DependencyGraph graph, LayerSelector origins, LayerSelector targets) static ArchitectureRuleLayerRules.noAccess(LayerModel layers, DependencyGraph graph, LayerSelector origins, LayerSelector targets, Set<DependencyKind> includedKinds) static ArchitectureRuleSliceRules.noDependencies(SliceModel slices, DependencyGraph graph, SliceSelector origins, SliceSelector targets) static ArchitectureRuleSliceRules.noDependencies(SliceModel slices, DependencyGraph graph, SliceSelector origins, SliceSelector targets, Set<DependencyKind> includedKinds) static ArchitectureRulePublicInterfaceRules.onlyAccessApprovedInterfaces(TypeModelResult model, MemberSelector consumers, TypeSelector approvedTypes, MemberSelector approvedMembers) Checks resolved member accesses crossing a package or module boundary.static ArchitectureRuleLayerRules.onlyAccessedBy(LayerModel layers, DependencyGraph graph, LayerSelector targets, LayerSelector allowedOrigins) static ArchitectureRuleLayerRules.onlyAccessedBy(LayerModel layers, DependencyGraph graph, LayerSelector targets, LayerSelector allowedOrigins, Set<DependencyKind> includedKinds) static ArchitectureRuleModuleDescriptorRules.opens(TypeModelResult model, ModuleSelector modules, JavaPattern packages, ModulePackageRuleSpec spec, NonExplicitModulePolicy nonExplicitPolicy) static ArchitectureRuleAnnotationRules.packages(TypeModelResult model, PackageSelector subjects, AnnotationRuleSpec spec) static ArchitectureRuleCoverageRules.packages(TypeModelResult model, PackageSelector subjects, PackageSelector exclusions, Collection<PackageCoveragePolicy> policies) static ArchitectureRuleCoverageRules.packages(TypeModelResult model, PackageSelector subjects, Collection<PackageCoveragePolicy> policies) static ArchitectureRuleDependencyRules.packages(TypeModelResult model, DependencyGraph graph, PackageSelector origins, PackageSelector targets, DependencyRuleSpec spec) static ArchitectureRuleNamingRules.packages(TypeModelResult model, PackageSelector selector, NamingTarget target, JavaPattern pattern, PatternRuleMode mode) static ArchitectureRuleCycleRules.packagesAreAcyclic(TypeModelResult model, DependencyGraph graph, PackageSelector packages) static ArchitectureRuleCycleRules.packagesAreAcyclic(TypeModelResult model, DependencyGraph graph, PackageSelector packages, CycleRuleOptions options) static ArchitectureRuleAnnotationRules.parameters(TypeModelResult model, MemberSelector owningCodeUnits, AnnotationRuleSpec spec) static ArchitectureRuleModuleDescriptorRules.provides(TypeModelResult model, ModuleSelector modules, JavaPattern serviceTypes, JavaPattern providerTypes, ModuleRuleMode mode, NonExplicitModulePolicy nonExplicitPolicy) static ArchitectureRuleModuleDescriptorRules.requires(TypeModelResult model, ModuleSelector modules, JavaPattern targetModules, ModuleRequireRuleSpec spec, NonExplicitModulePolicy nonExplicitPolicy) static ArchitectureRulePlantUmlRules.slices(TypeModelResult model, SliceModel slices, DependencyGraph graph, PlantUmlDiagram diagram) static ArchitectureRulePlantUmlRules.slices(TypeModelResult model, SliceModel slices, DependencyGraph graph, PlantUmlDiagram diagram, PlantUmlAdherenceOptions options) ArchitectureRule.tagged(Collection<String> tags) static ArchitectureRuleAnnotationRules.types(TypeModelResult model, TypeSelector subjects, AnnotationRuleSpec spec) static ArchitectureRuleCoverageRules.types(TypeModelResult model, TypeSelector subjects, TypeSelector exclusions, Collection<TypeCoveragePolicy> policies) static ArchitectureRuleCoverageRules.types(TypeModelResult model, TypeSelector subjects, Collection<TypeCoveragePolicy> policies) static ArchitectureRuleDependencyRules.types(TypeModelResult model, DependencyGraph graph, TypeSelector origins, TypeSelector targets, DependencyRuleSpec spec) static ArchitectureRuleInheritanceRules.types(TypeModelResult model, TypeHierarchy hierarchy, TypeSelector subjects, TypeSelector targets, HierarchyRuleSpec spec) static ArchitectureRuleInheritanceRules.types(TypeModelResult model, TypeSelector subjects, TypeSelector targets, HierarchyRuleSpec spec) static ArchitectureRuleNamingRules.types(TypeModelResult model, TypeSelector selector, NamingTarget target, JavaPattern pattern, PatternRuleMode mode) static ArchitectureRuleNamingRules.types(TypeModelResult model, TypeSelector selector, NamingTarget target, JavaPattern pattern, PatternRuleMode mode, NamingRuleOptions options) static ArchitectureRuleCycleRules.typesAreAcyclic(TypeModelResult model, DependencyGraph graph, TypeSelector types) static ArchitectureRuleCycleRules.typesAreAcyclic(TypeModelResult model, DependencyGraph graph, TypeSelector types, CycleRuleOptions options) static ArchitectureRuleReachabilityRules.unreachablePackages(TypeModelResult model, DependencyGraph graph, PackageSelector subjects, PackageSelector roots, PackageSelector externalConsumers, PackageSelector reflectionSensitive, PackageSelector ignored, ReachabilityRuleOptions options) static ArchitectureRuleReachabilityRules.unreachablePublicLibraryPackages(TypeModelResult model, DependencyGraph graph, PackageSelector subjects) static ArchitectureRuleReachabilityRules.unreachablePublicLibraryTypes(TypeModelResult model, DependencyGraph graph, TypeSelector subjects) static ArchitectureRuleReachabilityRules.unreachableTypes(TypeModelResult model, DependencyGraph graph, TypeSelector subjects, TypeSelector roots, TypeSelector externalConsumers, TypeSelector reflectionSensitive, TypeSelector ignored, ReachabilityRuleOptions options) static ArchitectureRuleModuleDescriptorRules.uses(TypeModelResult model, ModuleSelector modules, JavaPattern serviceTypes, ModuleRuleMode mode, NonExplicitModulePolicy nonExplicitPolicy) ArchitectureRule.withSeverity(Severity severity)