B
- builder typepublic static class Dependency.Builder<B extends Dependency.Builder<B>> extends Object
Modifier | Constructor and Description |
---|---|
protected |
Builder(String groupId,
String artifactId) |
Modifier and Type | Method and Description |
---|---|
B |
artifactId(String artifactId) |
Dependency |
build()
Build a
Dependency with the current state of this builder. |
B |
classifier(String classifier) |
B |
exclusions(Dependency.Exclusion... exclusions) |
B |
exclusions(Set<Dependency.Exclusion> exclusions) |
B |
groupId(String groupId) |
protected B |
initialize(Dependency dependency) |
B |
scope(DependencyScope scope) |
protected B |
self() |
B |
type(String type) |
B |
version(VersionReference version) |
public B version(VersionReference version)
public B scope(DependencyScope scope)
public B exclusions(Dependency.Exclusion... exclusions)
public B exclusions(Set<Dependency.Exclusion> exclusions)
protected B self()
protected B initialize(Dependency dependency)
public Dependency build()
Dependency
with the current state of this builder.Dependency
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.