|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.component.composition.DefaultCompositionResolver
public class DefaultCompositionResolver
Constructor Summary | |
---|---|
DefaultCompositionResolver()
|
Method Summary | |
---|---|
void |
addComponentDescriptor(ComponentDescriptor componentDescriptor)
|
java.util.List |
findRequirements(java.lang.String componentKey)
Returns the list of names of components which are using the component. |
java.util.List |
getRequirements(java.lang.String componentKey)
Returns the list of names of components which are required by the component of given componentKey. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultCompositionResolver()
Method Detail |
---|
public void addComponentDescriptor(ComponentDescriptor componentDescriptor) throws CompositionException
addComponentDescriptor
in interface CompositionResolver
CompositionException
- when cycle is detectedpublic java.util.List getRequirements(java.lang.String componentKey)
CompositionResolver
getRequirements
in interface CompositionResolver
componentKey
- The name of the component
CompositionResolver.getRequirements(java.lang.String)
public java.util.List findRequirements(java.lang.String componentKey)
CompositionResolver
findRequirements
in interface CompositionResolver
componentKey
- The name of the component
CompositionResolver.findRequirements(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |