org.jadira.dependencynavigator.model
Class Artifact
java.lang.Object
org.jadira.dependencynavigator.model.Artifact
- Direct Known Subclasses:
- LeafDependency, PomFile, SimpleDependancy
public abstract class Artifact
- extends Object
DEFAULT_SCOPE
public static final String DEFAULT_SCOPE
- See Also:
- Constant Field Values
SELECTED_NONE
public static final int SELECTED_NONE
- See Also:
- Constant Field Values
SELECTED_PATH
public static final int SELECTED_PATH
- See Also:
- Constant Field Values
SELECTED_PRINCIPLE
public static final int SELECTED_PRINCIPLE
- See Also:
- Constant Field Values
Artifact
protected Artifact(Artifact parent,
String groupId,
String artifactId,
String version,
String scope)
throws ArtifactInitialisationException
- Throws:
ArtifactInitialisationException
addExclusion
public void addExclusion(String groupId,
String artifactId)
isExcluded
public boolean isExcluded(String groupId,
String artifactId,
Stack<Artifact> path)
isLeaf
public abstract boolean isLeaf()
getDependencies
public abstract List<Artifact> getDependencies()
dependencyCount
public abstract int dependencyCount()
getArtifactId
public String getArtifactId()
getGroupId
public String getGroupId()
getScope
public String getScope()
getVersion
public String getVersion()
getParent
public Artifact getParent()
getSelected
public int getSelected()
select
public void select(int state)
getId
public String getId()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2010 Jadira Systems. All Rights Reserved.