Class FileSettingsSource
java.lang.Object
org.apache.maven.building.FileSource
org.apache.maven.settings.building.FileSettingsSource
- All Implemented Interfaces:
Source, SettingsSource
Deprecated.
Wraps an ordinary
File as a settings source.-
Constructor Summary
ConstructorsConstructorDescriptionFileSettingsSource(File settingsFile) Deprecated.Creates a new settings source backed by the specified file. -
Method Summary
Methods inherited from class FileSource
equals, getFile, getInputStream, getLocation, getPath, hashCode, toStringMethods inherited from interface Source
getInputStream, getLocation
-
Constructor Details
-
FileSettingsSource
Deprecated.Creates a new settings source backed by the specified file.- Parameters:
settingsFile- The settings file, must not benull.
-
-
Method Details
-
getSettingsFile
Deprecated.instead useFileSource.getFile()Gets the settings file of this model source.- Returns:
- The underlying settings file, never
null.
-
FileSource