public static class ClassDependParameters.CDPBuilder extends Object
build()
method returns the new ClassDependParameters
object, the builder can be used to build as many ClassDependParameter
objects as desired.Constructor and Description |
---|
CDPBuilder() |
public ClassDependParameters.CDPBuilder addOutsidePackageOrClass(String outsidePackageOrClass)
outsidePackageOrClass
- Package pattern or Class to be excluded from
dependency checking.
A package pattern ending in .* excludes the packages in the package
root directory, to decend recursively into and exclude subpackages,
the package pattern should end in .**ClassDepend
,
ClassDependParameters
public ClassDependParameters.CDPBuilder addOutsidePackagesOrClasses(String[] outsidePackagesOrClasses)
public ClassDependParameters.CDPBuilder addOutsidePackagesOrClasses(List excludes)
public ClassDependParameters.CDPBuilder addInsidePackage(String insidePackage)
insidePackage
- A String pattern including the fully qualified
package name, followed by .* to capture classes
in the packages root directory or by .** to
include subpackages recursively as well.public ClassDependParameters.CDPBuilder addInsidePackages(String[] insidePackages)
insidePackages
- public ClassDependParameters.CDPBuilder addInsidePackages(List inside)
public ClassDependParameters.CDPBuilder addShowPackages(String[] showPackages)
public ClassDependParameters.CDPBuilder addShowPackages(List showPackages)
public ClassDependParameters.CDPBuilder addShowPackage(String showPackage)
public ClassDependParameters.CDPBuilder addHidePackages(String[] hidePackages)
public ClassDependParameters.CDPBuilder addHidePackages(List hidePackages)
public ClassDependParameters.CDPBuilder addHidePackage(String hidePackage)
public ClassDependParameters.CDPBuilder ignoreOuterParentClass(boolean b)
public ClassDependParameters.CDPBuilder excludePlatformClasses(boolean b)
b
- ClassDepend
,
ClassDependParameters
public ClassDependParameters.CDPBuilder edges(boolean e)
public ClassDependParameters build()
ClassDependParameters
Copyright © 2016–2018. All rights reserved.