Class UrlSettingsSource
- java.lang.Object
-
- org.apache.maven.building.UrlSource
-
- org.apache.maven.settings.building.UrlSettingsSource
-
- All Implemented Interfaces:
Source
,SettingsSource
@Deprecated public class UrlSettingsSource extends UrlSource implements SettingsSource
Deprecated.instead useUrlSource
Wraps an ordinaryURL
as a settings source.- Author:
- Benjamin Bentmann
-
-
Constructor Summary
Constructors Constructor Description UrlSettingsSource(URL settingsUrl)
Deprecated.Creates a new model source backed by the specified URL.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description URL
getSettingsUrl()
Deprecated.instead useUrlSource.getUrl()
-
Methods inherited from class org.apache.maven.building.UrlSource
getInputStream, getLocation, getUrl, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.maven.building.Source
getInputStream, getLocation
-
-
-
-
Constructor Detail
-
UrlSettingsSource
public UrlSettingsSource(URL settingsUrl)
Deprecated.Creates a new model source backed by the specified URL.- Parameters:
settingsUrl
- The settings URL, must not benull
.
-
-
Method Detail
-
getSettingsUrl
@Deprecated public URL getSettingsUrl()
Deprecated.instead useUrlSource.getUrl()
Gets the settings URL of this model source.- Returns:
- The underlying settings URL, never
null
.
-
-