org.codehaus.plexus.component.repository
Class ComponentSetDescriptor
public class ComponentSetDescriptor
Contains a set of ComponentDescriptors and the set's dependencies.
$Id: ComponentSetDescriptor.java 6064 2007-03-13 12:39:55Z trygvis $
addComponentDescriptor
public void addComponentDescriptor(ComponentDescriptor cd)
Add a new ComponentDescriptor to this set.
cd
- the ComponentDescriptor to add
addDependency
public void addDependency(ComponentDependency cd)
Add a depenency to this set's contents.
cd
- the ComponentDependency to add
getComponents
public List getComponents()
Returns a list of components in this set.
getDependencies
public List getDependencies()
Returns a List of dependencies of this set of components.
- a List of dependencies of this set of components
getId
public String getId()
Returns the identifier of this set.
- the identifier of this set
isIsolatedRealm
public boolean isIsolatedRealm()
Returns true if this set may be in an isolated classrealm.
- true if this set may be in an isolated classrealm
setComponents
public void setComponents(List components)
Sets a List of components as this set's contents.
components
- the List of components to set
setDependencies
public void setDependencies(List dependencies)
Sets a List of dependencies as this set's component dependencies.
dependencies
- the List of components to set
setId
public void setId(String id)
Sets the identifier of this set.
id
- the identifier to set
setIsolatedRealm
public void setIsolatedRealm(boolean isolatedRealm)
Sets that this set of components may be in an isolated classrealm.
isolatedRealm
- true if this set of components may be in an
isolated classrealm
toString
public String toString()