Class UrlSettingsSource

java.lang.Object
org.apache.maven.building.UrlSource
org.apache.maven.settings.building.UrlSettingsSource
All Implemented Interfaces:
org.apache.maven.building.Source, SettingsSource

@Deprecated public class UrlSettingsSource extends org.apache.maven.building.UrlSource implements SettingsSource
Deprecated.
instead use UrlSource
Wraps an ordinary URL 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

    Modifier and Type
    Method
    Description
    Deprecated.
    instead use UrlSource.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 Details

    • UrlSettingsSource

      public UrlSettingsSource(URL settingsUrl)
      Deprecated.
      Creates a new model source backed by the specified URL.
      Parameters:
      settingsUrl - The settings URL, must not be null.
  • Method Details

    • getSettingsUrl

      @Deprecated public URL getSettingsUrl()
      Deprecated.
      instead use UrlSource.getUrl()
      Gets the settings URL of this model source.
      Returns:
      The underlying settings URL, never null.