Modifier and Type | Method and Description |
---|---|
Exclusion |
Exclusion.Builder.build() |
static Exclusion |
Exclusion.newInstance()
Creates a new
Exclusion instance. |
static Exclusion |
Exclusion.newInstance(boolean withDefaults)
Creates a new
Exclusion instance using default values or not. |
Exclusion |
Exclusion.withArtifactId(String artifactId)
Creates a new
Exclusion instance using the specified artifactId. |
Exclusion |
Exclusion.withGroupId(String groupId)
Creates a new
Exclusion instance using the specified groupId. |
Modifier and Type | Method and Description |
---|---|
List<Exclusion> |
Dependency.getExclusions()
Lists a set of artifacts that should be excluded from this dependency's
artifact list when it comes to calculating transitive dependencies.
|
Modifier and Type | Method and Description |
---|---|
static Exclusion.Builder |
Exclusion.newBuilder(Exclusion from)
Creates a new
Exclusion builder instance using the specified object as a basis. |
static Exclusion.Builder |
Exclusion.newBuilder(Exclusion from,
boolean forceCopy)
Creates a new
Exclusion builder instance using the specified object as a basis. |
Modifier and Type | Method and Description |
---|---|
Dependency.Builder |
Dependency.Builder.exclusions(Collection<Exclusion> exclusions) |
Dependency |
Dependency.withExclusions(Collection<Exclusion> exclusions)
Creates a new
Dependency instance using the specified exclusions. |
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.