org.jadira.dependencynavigator.implementations.local
Class LocalDiskWorkspace

Package class diagram package LocalDiskWorkspace
java.lang.Object
  extended by org.jadira.dependencynavigator.implementations.Workspace
      extended by org.jadira.dependencynavigator.implementations.local.LocalDiskWorkspace
All Implemented Interfaces:
org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

public class LocalDiskWorkspace
extends Workspace
implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable


Field Summary
static String KEY_WORKSPACE_PATH
           
 
Fields inherited from class org.jadira.dependencynavigator.implementations.Workspace
ROLE, root
 
Constructor Summary
LocalDiskWorkspace()
           
 
Method Summary
 boolean canCreateSnapshot()
           
 void contextualize(org.codehaus.plexus.context.Context context)
           
 String getPath(String moduleName)
           
 File getWorkspaceDirectory()
           
 PomFile loadModulePom(String module)
           
 void loadRootPom(File file)
           
 void reloadPomFile()
           
 
Methods inherited from class org.jadira.dependencynavigator.implementations.Workspace
getRoot, loadPom
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_WORKSPACE_PATH

public static final String KEY_WORKSPACE_PATH
See Also:
Constant Field Values
Constructor Detail

LocalDiskWorkspace

public LocalDiskWorkspace()
Method Detail

getWorkspaceDirectory

public File getWorkspaceDirectory()

loadRootPom

public void loadRootPom(File file)
                 throws ArtifactInitialisationException
Throws:
ArtifactInitialisationException

reloadPomFile

public void reloadPomFile()
                   throws ArtifactInitialisationException
Specified by:
reloadPomFile in class Workspace
Throws:
ArtifactInitialisationException

getPath

public String getPath(String moduleName)
Specified by:
getPath in class Workspace

loadModulePom

public PomFile loadModulePom(String module)
Specified by:
loadModulePom in class Workspace

canCreateSnapshot

public boolean canCreateSnapshot()
Specified by:
canCreateSnapshot in class Workspace

contextualize

public void contextualize(org.codehaus.plexus.context.Context context)
                   throws org.codehaus.plexus.context.ContextException
Specified by:
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Throws:
org.codehaus.plexus.context.ContextException


Copyright © 2010 Jadira Systems. All Rights Reserved.