|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.maven.plugins.graph.sanitize.BuildSanitizer
public class BuildSanitizer
This sanitizer takes into account the overall build tree. It assumes that RelatedArtifactSanitizer
has
completed successfully.
Assuming there is consistency in the omitted nodes we still need to check to make sure the omitted artifacts actually do have a replacement in the build tree.
For State.DUPLICATE
nodes that have an exact match in the build tree, this sanitizer takes no action.
State.DUPLICATE
nodes that do not have an exact match in the build tree, but do have a similar match get
set to State.CONFLICT
State.DUPLICATE
nodes that do not have a match of any kind in the build tree, get set to
State.UNKNOWN
since the data Maven is providing for this dependency is inconsistent.
State.CONFLICT
nodes that in reality do have an exact match in the build tree, get set to
State.DUPLICATE
and the 'related' artifact is removed from the node.
State.CONFLICT
nodes that have no matching artifact in the build tree, get set to
State.UNKNOWN
since the data Maven is providing for this dependency is inconsistent.
Constructor Summary | |
---|---|
BuildSanitizer()
|
Method Summary | |
---|---|
void |
sanitize(Node<MavenContext> node)
|
protected void |
sanitizeConflict(MavenContext conflict,
List<MavenContext> included)
|
protected void |
sanitizeDuplicate(MavenContext duplicate,
List<MavenContext> included)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuildSanitizer()
Method Detail |
---|
public void sanitize(Node<MavenContext> node)
sanitize
in interface Sanitizer<Node<MavenContext>>
protected void sanitizeDuplicate(MavenContext duplicate, List<MavenContext> included)
protected void sanitizeConflict(MavenContext conflict, List<MavenContext> included)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |