|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.mojo.versions.utils.WagonUtils
public final class WagonUtils
Utility methods to help with using Wagons.
| Method Summary | |
|---|---|
static org.apache.maven.wagon.Wagon |
createWagon(String serverId,
String url,
WagonManager wagonManager,
Settings settings,
Log logger)
Convenience method to create a wagon. |
static org.apache.maven.wagon.proxy.ProxyInfo |
getProxyInfo(Settings settings)
Convenience method to convert the Proxy object from a Settings into a ProxyInfo. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static org.apache.maven.wagon.proxy.ProxyInfo getProxyInfo(Settings settings)
Proxy object from a Settings into a ProxyInfo.
settings - The settings to use.
null if the settings do not define a proxy.
public static org.apache.maven.wagon.Wagon createWagon(String serverId,
String url,
WagonManager wagonManager,
Settings settings,
Log logger)
throws org.apache.maven.wagon.UnsupportedProtocolException,
WagonConfigurationException,
org.apache.maven.wagon.ConnectionException,
org.apache.maven.wagon.authentication.AuthenticationException
serverId - The serverId to use if the wagonManager needs help.url - The url to create a wagon for.wagonManager - The wgaon manager to use.settings - The settings to use.logger - The logger to use.
org.apache.maven.wagon.UnsupportedProtocolException - if the protocol is not supported.
WagonConfigurationException - if the wagon cannot be configured.
org.apache.maven.wagon.ConnectionException - If the connection cannot be established.
org.apache.maven.wagon.authentication.AuthenticationException - If the connection cannot be authenticated.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||