org.jadira.dependencynavigator.model
Class PomFile

Package class diagram package PomFile
java.lang.Object
  extended by org.jadira.dependencynavigator.model.Artifact
      extended by org.jadira.dependencynavigator.model.PomFile
Direct Known Subclasses:
RootPom

public class PomFile
extends Artifact


Field Summary
protected  List<Artifact> dependencies
           
protected  AssembledModel model
           
 
Fields inherited from class org.jadira.dependencynavigator.model.Artifact
DEFAULT_SCOPE, SELECTED_NONE, SELECTED_PATH, SELECTED_PRINCIPLE
 
Constructor Summary
PomFile(AssembledModel model, Artifact parent, String scope)
           
 
Method Summary
 int dependencyCount()
           
 List<Artifact> getDependencies()
           
 AssembledModel getModel()
           
 boolean isLeaf()
           
 void resolveDependencies(ArtifactResolver resolver, IProgressMeter progress, Stack<LeafDependency> path)
           
 
Methods inherited from class org.jadira.dependencynavigator.model.Artifact
addExclusion, equals, getArtifactId, getGroupId, getId, getParent, getScope, getSelected, getVersion, hashCode, isExcluded, select, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

dependencies

protected List<Artifact> dependencies

model

protected AssembledModel model
Constructor Detail

PomFile

public PomFile(AssembledModel model,
               Artifact parent,
               String scope)
        throws ArtifactInitialisationException
Throws:
ArtifactInitialisationException
Method Detail

resolveDependencies

public void resolveDependencies(ArtifactResolver resolver,
                                IProgressMeter progress,
                                Stack<LeafDependency> path)

getModel

public AssembledModel getModel()

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in class Artifact

getDependencies

public List<Artifact> getDependencies()
Specified by:
getDependencies in class Artifact

dependencyCount

public int dependencyCount()
Specified by:
dependencyCount in class Artifact


Copyright © 2010 Jadira Systems. All Rights Reserved.