org.jadira.dependencynavigator.implementations.zip
Class ZipFileWorkspace

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

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


Field Summary
static String KEY_ZIPFILE_PATH
           
static String PREFIX_WORKSPACE
           
 
Fields inherited from class org.jadira.dependencynavigator.implementations.Workspace
ROLE, root
 
Constructor Summary
ZipFileWorkspace()
           
 
Method Summary
 boolean canCreateSnapshot()
           
 void contextualize(org.codehaus.plexus.context.Context context)
           
 String getPath(String moduleName)
           
 PomFile loadModulePom(String module)
           
 void loadRootPom(String selectedPom)
           
 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_ZIPFILE_PATH

public static final String KEY_ZIPFILE_PATH
See Also:
Constant Field Values

PREFIX_WORKSPACE

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

ZipFileWorkspace

public ZipFileWorkspace()
Method Detail

getPath

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

loadModulePom

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

reloadPomFile

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

loadRootPom

public void loadRootPom(String selectedPom)
                 throws ArtifactInitialisationException
Throws:
ArtifactInitialisationException

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.