|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mevenide.environment.AbstractLocationFinder
org.mevenide.environment.LocationFinderAggregator
public class LocationFinderAggregator
| Field Summary |
|---|
| Fields inherited from interface org.mevenide.environment.ILocationFinder |
|---|
FOREHEAD_CONF_FILE, JAVA_HOME, MAVEN_HOME, MAVEN_HOME_LOCAL, MAVEN_PLUGIN_DIR, MAVEN_PLUGIN_UNPACKED_DIR, MAVEN_PLUGIN_USER_DIR, MAVEN_REPO_LOCAL, USER_HOME |
| Constructor Summary | |
|---|---|
LocationFinderAggregator(IQueryContext queryContext)
default constructor for the aggregator |
|
LocationFinderAggregator(IQueryContext queryContext,
ILocationFinder custom)
default constructor for the aggregator |
|
| Method Summary | |
|---|---|
java.lang.String |
getJavaHome()
The directory on the local machine that contains the JDK. |
java.lang.String |
getMavenHome()
The directory on the local machine that contains Maven. |
java.lang.String |
getMavenLocalHome()
The directory on the local machine Maven uses to write user specific details to, such as expanded plugins and cache data. |
java.lang.String |
getMavenLocalRepository()
The repository on the local machine Maven should use to store downloaded artifacts (jars etc). |
java.lang.String |
getMavenPluginsDir()
Where Maven expands installed plugins for processing. |
java.lang.String |
getPluginJarsDir()
Where Maven can find it's plugins. |
java.lang.String |
getUserHome()
The user's home directory on the local machine. |
java.lang.String |
getUserPluginsDir()
Where Maven can find plugins for this user only. |
void |
setCustomLocationFinder(ILocationFinder locationFinder)
Deprecated. Pass the custom location finder in the constructor. |
| Methods inherited from class org.mevenide.environment.AbstractLocationFinder |
|---|
getConfigurationFileLocation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocationFinderAggregator(IQueryContext queryContext)
queryContext - the project's query context.
public LocationFinderAggregator(IQueryContext queryContext,
ILocationFinder custom)
queryContext - the project's query context.| Method Detail |
|---|
public java.lang.String getJavaHome()
ILocationFinderThis is equivalent to getting the java.home system property.
Defaults to ${env.JAVA_HOME}
public java.lang.String getMavenHome()
ILocationFinderThis is equivalent to getting the maven.home system property.
Defaults to ${env.MAVEN_HOME}
public java.lang.String getMavenLocalHome()
ILocationFinderThis is equivalent to getting the maven.home.local system property.
Defaults to ${user.home}/.maven
getMavenLocalHome in interface ILocationFindergetMavenLocalHome in class AbstractLocationFinderpublic java.lang.String getMavenLocalRepository()
ILocationFinderThis is equivalent to getting the maven.repo.local system property.
Defaults to ${maven.home.local}/repository
getMavenLocalRepository in interface ILocationFindergetMavenLocalRepository in class AbstractLocationFinderpublic java.lang.String getMavenPluginsDir()
ILocationFinderThis is equivalent to getting the maven.plugin.unpacked.dir system property.
Defaults to ${maven.home.local}/cache
getMavenPluginsDir in interface ILocationFindergetMavenPluginsDir in class AbstractLocationFinderpublic java.lang.String getUserPluginsDir()
ILocationFinderThis is equivalent to getting the maven.plugin.user.dir system property.
Defaults to ${maven.home.local}/plugins
getUserPluginsDir in interface ILocationFindergetUserPluginsDir in class AbstractLocationFinderpublic java.lang.String getPluginJarsDir()
ILocationFinderThis is equivalent to getting the maven.plugin.dir system property.
Defaults to ${maven.home}/plugins
getPluginJarsDir in interface ILocationFindergetPluginJarsDir in class AbstractLocationFinderpublic java.lang.String getUserHome()
ILocationFinderThis is equivalent to getting the user.home system property.
Defaults to ${env.HOME}
public void setCustomLocationFinder(ILocationFinder locationFinder)
customLocationFinder -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||