public class DependencyGroup extends Object
Dependency
instances identified by a name.Constructor and Description |
---|
DependencyGroup() |
Modifier and Type | Method and Description |
---|---|
static DependencyGroup |
create(String name)
Create a new
DependencyGroup instance with the given name. |
String |
getBom()
Return the default bom to associate to all dependencies of this group unless
specified otherwise.
|
String |
getCompatibilityRange()
Return the default compatibility range to apply to all dependencies of this group
unless specified otherwise.
|
List<Dependency> |
getContent()
Return the
dependencies of this group. |
String |
getName()
Return the name of this group.
|
String |
getRepository()
Return the default repository to associate to all dependencies of this group unless
specified otherwise.
|
void |
setBom(String bom) |
void |
setCompatibilityRange(String compatibilityRange) |
void |
setName(String name) |
void |
setRepository(String repository) |
public String getName()
public void setName(String name)
public String getCompatibilityRange()
public void setCompatibilityRange(String compatibilityRange)
public String getBom()
public void setBom(String bom)
public String getRepository()
public void setRepository(String repository)
public List<Dependency> getContent()
dependencies
of this group.public static DependencyGroup create(String name)
DependencyGroup
instance with the given name.name
- the name of the groupDependencyGroup
instanceCopyright © 2021 Pivotal Software, Inc.. All rights reserved.