|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.pax.url.maven.commons.MavenSettingsImpl
public class MavenSettingsImpl
Default implementation of Settings.
MavenSettings
Constructor Summary | |
---|---|
MavenSettingsImpl(java.net.URL settingsURL)
See MavenSettingsImpl(java.net.URL, boolean) . |
|
MavenSettingsImpl(java.net.URL settingsURL,
boolean useFallbackRepositories)
Creates new settings with the following resolution: 1. |
Method Summary | |
---|---|
java.lang.String |
getLocalRepository()
Returns the local repository directory from settings.xml. |
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
getProxySettings()
Returns the active proxy settings from settings.xml |
java.lang.String |
getRepositories()
Gets the list of repositories from settings.xml including the central repository. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MavenSettingsImpl(java.net.URL settingsURL, boolean useFallbackRepositories)
settingsURL
- prefered settings.xml fileuseFallbackRepositories
- if fallback repositories should be used instead of default repositoriespublic MavenSettingsImpl(java.net.URL settingsURL)
MavenSettingsImpl(java.net.URL, boolean)
.
Forces use of default repositories.
settingsURL
- prefered settings.xml fileMethod Detail |
---|
public java.lang.String getLocalRepository()
getLocalRepository
in interface MavenSettings
public java.lang.String getRepositories()
getRepositories
in interface MavenSettings
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getProxySettings()
getProxySettings
in interface MavenSettings
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |