public class ComponentSetDescriptor extends Object
Constructor and Description |
---|
ComponentSetDescriptor() |
Modifier and Type | Method and Description |
---|---|
void |
addComponentDescriptor(ComponentDescriptor<?> cd)
Add a new ComponentDescriptor to this set.
|
void |
addDependency(ComponentDependency cd)
Add a depenency to this set's contents.
|
List<ComponentDescriptor<?>> |
getComponents()
Returns a list of components in this set.
|
List<ComponentDependency> |
getDependencies()
Returns a List of dependencies of this set of components.
|
String |
getId()
Returns the identifier of this set.
|
String |
getSource() |
boolean |
isIsolatedRealm()
Returns true if this set may be in an isolated classrealm.
|
void |
setComponents(List<ComponentDescriptor<?>> components)
Sets a List of components as this set's contents.
|
void |
setDependencies(List<ComponentDependency> dependencies)
Sets a List of dependencies as this set's component dependencies.
|
void |
setId(String id)
Sets the identifier of this set.
|
void |
setIsolatedRealm(boolean isolatedRealm)
Sets that this set of components may be in an isolated classrealm.
|
void |
setSource(String source) |
String |
toString() |
public List<ComponentDescriptor<?>> getComponents()
public void addComponentDescriptor(ComponentDescriptor<?> cd)
cd
- the ComponentDescriptor to addpublic void setComponents(List<ComponentDescriptor<?>> components)
components
- the List of components to setpublic List<ComponentDependency> getDependencies()
public void addDependency(ComponentDependency cd)
cd
- the ComponentDependency to addpublic void setDependencies(List<ComponentDependency> dependencies)
dependencies
- the List of components to setpublic void setIsolatedRealm(boolean isolatedRealm)
isolatedRealm
- true if this set of components may be in an
isolated classrealmpublic boolean isIsolatedRealm()
public String getId()
public void setId(String id)
id
- the identifier to setpublic String getSource()
public void setSource(String source)
Copyright © 2001–2019 Codehaus Plexus. All rights reserved.