org.mevenide.environment
Class SysEnvLocationFinder
java.lang.Object
org.mevenide.environment.AbstractLocationFinder
org.mevenide.environment.SysEnvLocationFinder
- All Implemented Interfaces:
- ILocationFinder
public class SysEnvLocationFinder
- extends AbstractLocationFinder
- Version:
- $Id: SysEnvLocationFinder.java,v 1.1 15 nov. 2003 Exp gdodinet
- Author:
- Gilles Dodinet (gdodinet@wanadoo.fr)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static SysEnvLocationFinder getInstance()
setDefaultSysEnvProvider
public static void setDefaultSysEnvProvider(SysEnvProvider prov)
- Sets the SysEnv provider instance for the locationFinder. Please not that if you
define a custom one impl, you should set it *before* the singleton SysEnvLocationFinder instance is
created, thus before the getInstance() method is called for the first time. Best place is during the
startup sequence of your IDE. (For performance reasons your provider impl should be lazy initialized).
getJavaHome
public java.lang.String getJavaHome()
getMavenHome
public java.lang.String getMavenHome()
getMavenLocalHome
public java.lang.String getMavenLocalHome()
getMavenLocalRepository
public java.lang.String getMavenLocalRepository()
getMavenPluginsDir
public java.lang.String getMavenPluginsDir()
getUserHome
public java.lang.String getUserHome()
Copyright © 2003-2005 The Codehaus. All Rights Reserved.