public class DependencyContainer extends BuildItemContainer<String,Dependency>
BuildItemContainer implementation for dependencies.| Modifier and Type | Method and Description |
|---|---|
void |
add(String id,
Dependency.Builder<?> builder)
|
void |
add(String id,
String groupId,
String artifactId,
DependencyScope scope)
Register a
Dependency with the specified id and a managed version. |
public void add(String id, String groupId, String artifactId, DependencyScope scope)
Dependency with the specified id and a managed version.id - the id of the dependencygroupId - the groupIdartifactId - the artifactIdscope - the DependencyScopepublic void add(String id, Dependency.Builder<?> builder)
id - the id of the dependencybuilder - the state of the dependencyCopyright © 2019 Pivotal Software, Inc.. All rights reserved.