@NotThreadSafe public static class Dependency.Builder extends Object
Dependency.with()
,
Dependency.newBuilder()
Modifier and Type | Method and Description |
---|---|
Dependency.Builder |
artifactId(String artifactId) |
Dependency |
build() |
Dependency.Builder |
classifier(String classifier) |
Dependency.Builder |
exclusions(Collection<Exclusion> exclusions) |
Dependency.Builder |
groupId(String groupId) |
Dependency.Builder |
location(Object key,
InputLocation location) |
Dependency.Builder |
optional(String optional) |
Dependency.Builder |
scope(String scope) |
Dependency.Builder |
systemPath(String systemPath) |
Dependency.Builder |
type(String type) |
Dependency.Builder |
version(String version) |
@Nonnull public Dependency.Builder groupId(String groupId)
@Nonnull public Dependency.Builder artifactId(String artifactId)
@Nonnull public Dependency.Builder version(String version)
@Nonnull public Dependency.Builder type(String type)
@Nonnull public Dependency.Builder classifier(String classifier)
@Nonnull public Dependency.Builder scope(String scope)
@Nonnull public Dependency.Builder systemPath(String systemPath)
@Nonnull public Dependency.Builder exclusions(Collection<Exclusion> exclusions)
@Nonnull public Dependency.Builder optional(String optional)
@Nonnull public Dependency.Builder location(Object key, InputLocation location)
@Nonnull public Dependency build()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.