Class PlantUmlArchCondition.Configurations

java.lang.Object
com.tngtech.archunit.library.plantuml.PlantUmlArchCondition.Configurations
Enclosing class:
PlantUmlArchCondition

public static final class PlantUmlArchCondition.Configurations
extends java.lang.Object
  • Method Summary

    Modifier and Type Method Description
    static com.tngtech.archunit.library.plantuml.PlantUmlArchCondition.Configuration consideringAllDependencies()
    Considers all dependencies of every imported class, including basic Java classes like Object
    static com.tngtech.archunit.library.plantuml.PlantUmlArchCondition.Configuration consideringOnlyDependenciesInAnyPackage​(java.lang.String packageIdentifier, java.lang.String... furtherPackageIdentifiers)
    Considers only dependencies of the imported classes that have targets in the package identifiers.
    static com.tngtech.archunit.library.plantuml.PlantUmlArchCondition.Configuration consideringOnlyDependenciesInDiagram()
    Considers only dependencies of the imported classes that are contained within diagram components.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • consideringAllDependencies

      @PublicAPI(usage=ACCESS) public static com.tngtech.archunit.library.plantuml.PlantUmlArchCondition.Configuration consideringAllDependencies()
      Considers all dependencies of every imported class, including basic Java classes like Object
    • consideringOnlyDependenciesInDiagram

      @PublicAPI(usage=ACCESS) public static com.tngtech.archunit.library.plantuml.PlantUmlArchCondition.Configuration consideringOnlyDependenciesInDiagram()
      Considers only dependencies of the imported classes that are contained within diagram components. This makes it easy to ignore dependencies to irrelevant classes like Object, but bears the danger of missing dependencies to components that have simply been forgotten to be added to the diagram.
    • consideringOnlyDependenciesInAnyPackage

      @PublicAPI(usage=ACCESS) public static com.tngtech.archunit.library.plantuml.PlantUmlArchCondition.Configuration consideringOnlyDependenciesInAnyPackage​(java.lang.String packageIdentifier, java.lang.String... furtherPackageIdentifiers)
      Considers only dependencies of the imported classes that have targets in the package identifiers. This can for example be used to limit checked dependencies to those contained in the own project, e.g. 'com.myapp..'.