|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.metadata.merge.support.AbstractMergeableSupport
org.codehaus.plexus.metadata.merge.support.AbstractMergeableElement
org.codehaus.plexus.metadata.merge.support.AbstractMergeableElementList
org.codehaus.plexus.metadata.merge.support.RequirementsElement
public class RequirementsElement
Field Summary | |
---|---|
static DescriptorTag |
TAG
|
Fields inherited from class org.codehaus.plexus.metadata.merge.support.AbstractMergeableSupport |
---|
element |
Constructor Summary | |
---|---|
RequirementsElement(org.jdom.Element element)
|
Method Summary | |
---|---|
DescriptorTag[] |
getAllowedTags()
Returns an array of tags/elements that are allowed under the current element. |
protected List |
getElementNamesForConflictResolution(List defaultList)
Sub classes should override if they wish to provide a different combination of composite keys for determining conflicts. |
protected String |
getTagNameForRecurringMergeable()
Allows the sub classes to provided a tag name that they expect to recurr within them. |
protected boolean |
isExpectedElementType(Mergeable me)
Determines if the passed in Mergeable was of same type as this
class. |
Methods inherited from class org.codehaus.plexus.metadata.merge.support.AbstractMergeableElementList |
---|
merge, merge, parseRecurringMergeables |
Methods inherited from class org.codehaus.plexus.metadata.merge.support.AbstractMergeableElement |
---|
isRecessiveElementInConflict, isRecessiveElementInConflict, merge, mergeableElementComesFromRecessive |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final DescriptorTag TAG
Constructor Detail |
---|
public RequirementsElement(org.jdom.Element element)
Method Detail |
---|
protected boolean isExpectedElementType(Mergeable me)
AbstractMergeableSupport
Mergeable
was of same type as this
class.
isExpectedElementType
in class AbstractMergeableSupport
me
- Mergeable
instance to test.
true
if the passed in Mergeable can be merged with
the current Mergeable.public DescriptorTag[] getAllowedTags()
Mergeable
protected List getElementNamesForConflictResolution(List defaultList)
AbstractMergeableSupport
getElementNamesForConflictResolution
in class AbstractMergeableElementList
protected String getTagNameForRecurringMergeable()
AbstractMergeableElementList
getTagNameForRecurringMergeable
in class AbstractMergeableElementList
Mergeable
element that occurs multiple times.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |