@API(status=STABLE, since="1.0") public interface PackageNameFilter extends DiscoveryFilter<String>
DiscoveryFilter that is applied to the name of a Package.includePackageNames(java.lang.String...)| Modifier and Type | Method and Description |
|---|---|
static PackageNameFilter |
excludePackageNames(List<String> names)
Create a new exclude
PackageNameFilter based on the
supplied package names. |
static PackageNameFilter |
excludePackageNames(String... names)
Create a new exclude
PackageNameFilter based on the
supplied package names. |
static PackageNameFilter |
includePackageNames(List<String> names)
Create a new include
PackageNameFilter based on the
supplied package names. |
static PackageNameFilter |
includePackageNames(String... names)
Create a new include
PackageNameFilter based on the
supplied package names. |
adaptFilter, apply, composeFilters, composeFilters, toPredicatestatic PackageNameFilter includePackageNames(String... names)
PackageNameFilter based on the
supplied package names.
The names are combined using OR semantics, i.e. if the fully qualified name of a package starts with at least one of the names, the package will be included in the result set.
names - package names that we be compared against fully qualified
package names; never null, empty, or containing nullPackage.getName()static PackageNameFilter includePackageNames(List<String> names)
PackageNameFilter based on the
supplied package names.
The names are combined using OR semantics, i.e. if the fully qualified name of a package starts with at least one of the names, the package will be included in the result set.
names - package names that we be compared against fully qualified
package names; never null, empty, or containing nullPackage.getName()static PackageNameFilter excludePackageNames(String... names)
PackageNameFilter based on the
supplied package names.
The names are combined using OR semantics, i.e. if the fully qualified name of a package starts with at least one of the names, the package will be excluded in the result set.
names - package names that we be compared against fully qualified
package names; never null, empty, or containing nullPackage.getName()static PackageNameFilter excludePackageNames(List<String> names)
PackageNameFilter based on the
supplied package names.
The names are combined using OR semantics, i.e. if the fully qualified name of a package starts with at least one of the names, the package will be excluded in the result set.
names - package names that we be compared against fully qualified
package names; never null, empty, or containing nullPackage.getName()