|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.util.property.PropertyStore
org.ops4j.pax.url.maven.commons.MavenConfigurationImpl
public class MavenConfigurationImpl
Service Configuration implementation.
MavenConfiguration
Constructor Summary | |
---|---|
MavenConfigurationImpl(org.ops4j.util.property.PropertyResolver propertyResolver,
java.lang.String pid)
Creates a new service configuration. |
Method Summary | |
---|---|
void |
enableProxy(java.net.URL url)
Enables the proxy server for a given URL. |
java.lang.Boolean |
getCertificateCheck()
Returns true if the certificate should be checked on SSL connection, false otherwise. |
java.util.List<MavenRepositoryURL> |
getDefaultRepositories()
Repository is a comma separated list of repositories to be used. |
MavenRepositoryURL |
getLocalRepository()
Resolves local repository directory by using the following resolution: 1. |
java.util.List<MavenRepositoryURL> |
getRepositories()
Repository is a comma separated list of repositories to be used. |
java.net.URL |
getSettingsFileUrl()
Returns the URL of settings file. |
void |
setSettings(MavenSettings settings)
Sets maven settings abstraction. |
java.lang.Boolean |
useFallbackRepositories()
Returns true if the fallback repositories should be used instead of default ones. |
Methods inherited from class org.ops4j.util.property.PropertyStore |
---|
contains, get, set |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MavenConfigurationImpl(org.ops4j.util.property.PropertyResolver propertyResolver, java.lang.String pid)
propertyResolver
- propertyResolver used to resolve properties; mandatorypid
- configuration PID; mandatoryMethod Detail |
---|
public void setSettings(MavenSettings settings)
settings
- maven settings abstractionpublic java.lang.Boolean getCertificateCheck()
MavenConfiguration
getCertificateCheck
in interface MavenConfiguration
MavenConfiguration.getCertificateCheck()
public java.net.URL getSettingsFileUrl()
getSettingsFileUrl
in interface MavenConfiguration
MavenConfiguration.getSettingsFileUrl()
public java.util.List<MavenRepositoryURL> getDefaultRepositories() throws java.net.MalformedURLException
getDefaultRepositories
in interface MavenConfiguration
java.net.MalformedURLException
MavenConfiguration.getRepositories()
,
MavenConfiguration.getLocalRepository()
public java.util.List<MavenRepositoryURL> getRepositories() throws java.net.MalformedURLException
getRepositories
in interface MavenConfiguration
java.net.MalformedURLException
MavenConfiguration.getRepositories()
,
MavenConfiguration.getLocalRepository()
public MavenRepositoryURL getLocalRepository()
getLocalRepository
in interface MavenConfiguration
MavenConfiguration.getLocalRepository()
public java.lang.Boolean useFallbackRepositories()
useFallbackRepositories
in interface MavenConfiguration
public void enableProxy(java.net.URL url)
enableProxy
in interface MavenConfiguration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |