org.jadira.dependencynavigator.implementations
Class Workspace

Package class diagram package Workspace
java.lang.Object
  extended by org.jadira.dependencynavigator.implementations.Workspace
Direct Known Subclasses:
LocalDiskWorkspace, ZipFileWorkspace

public abstract class Workspace
extends Object


Field Summary
static String ROLE
           
protected  RootPom root
          the root of the pom hierarachy.
 
Constructor Summary
Workspace()
           
 
Method Summary
abstract  boolean canCreateSnapshot()
           
abstract  String getPath(String moduleName)
           
 RootPom getRoot()
           
abstract  PomFile loadModulePom(String module)
           
protected  PomFile loadPom(BufferedReader pomFile)
           
abstract  void reloadPomFile()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROLE

public static final String ROLE
See Also:
Constant Field Values

root

protected RootPom root
the root of the pom hierarachy. this will be an entity in the workspace

Constructor Detail

Workspace

public Workspace()
Method Detail

loadModulePom

public abstract PomFile loadModulePom(String module)

getPath

public abstract String getPath(String moduleName)

reloadPomFile

public abstract void reloadPomFile()
                            throws ArtifactInitialisationException
Throws:
ArtifactInitialisationException

canCreateSnapshot

public abstract boolean canCreateSnapshot()

getRoot

public RootPom getRoot()

loadPom

protected PomFile loadPom(BufferedReader pomFile)


Copyright © 2010 Jadira Systems. All Rights Reserved.