Class FileSettingsSource

  • All Implemented Interfaces:
    org.apache.maven.building.Source, SettingsSource

    @Deprecated
    public class FileSettingsSource
    extends org.apache.maven.building.FileSource
    implements SettingsSource
    Deprecated.
    instead use FileSource
    Wraps an ordinary File as a settings source.
    Author:
    Benjamin Bentmann
    • Constructor Summary

      Constructors 
      Constructor Description
      FileSettingsSource​(java.io.File settingsFile)
      Deprecated.
      Creates a new settings source backed by the specified file.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.io.File getSettingsFile()
      Deprecated.
      instead use FileSource.getFile()
      • Methods inherited from class org.apache.maven.building.FileSource

        getFile, getInputStream, getLocation, 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

      • FileSettingsSource

        public FileSettingsSource​(java.io.File settingsFile)
        Deprecated.
        Creates a new settings source backed by the specified file.
        Parameters:
        settingsFile - The settings file, must not be null.
    • Method Detail

      • getSettingsFile

        @Deprecated
        public java.io.File getSettingsFile()
        Deprecated.
        instead use FileSource.getFile()
        Gets the settings file of this model source.
        Returns:
        The underlying settings file, never null.