Class StringSettingsSource

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

@Deprecated public class StringSettingsSource extends StringSource implements SettingsSource
Deprecated.
instead use StringSource
Wraps an ordinary CharSequence as a settings source.
Author:
Benjamin Bentmann
  • Constructor Details

    • StringSettingsSource

      public StringSettingsSource(CharSequence settings)
      Deprecated.
      Creates a new settings source backed by the specified string.
      Parameters:
      settings - The settings' string representation, may be empty or null.
    • StringSettingsSource

      public StringSettingsSource(CharSequence settings, String location)
      Deprecated.
      Creates a new settings source backed by the specified string.
      Parameters:
      settings - The settings' string representation, may be empty or null.
      location - The location to report for this use, may be null.
  • Method Details

    • getSettings

      @Deprecated public String getSettings()
      Deprecated.
      Gets the character sequence of this settings source.
      Returns:
      The underlying character stream, never null.