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
All Methods Static Methods Concrete Methods 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 likeObject
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.
-
-
-
Method Detail
-
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 likeObject
-
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 likeObject
, 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..
'.
-
-