Class StringSettingsSource
java.lang.Object
org.apache.maven.building.StringSource
org.apache.maven.settings.building.StringSettingsSource
- All Implemented Interfaces:
org.apache.maven.building.Source, SettingsSource
@Deprecated
public class StringSettingsSource
extends org.apache.maven.building.StringSource
implements SettingsSource
Deprecated.
Wraps an ordinary
CharSequence as a settings source.-
Constructor Summary
ConstructorsConstructorDescriptionStringSettingsSource(CharSequence settings) Deprecated.Creates a new settings source backed by the specified string.StringSettingsSource(CharSequence settings, String location) Deprecated.Creates a new settings source backed by the specified string. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.instead useStringSource.getContent()Methods inherited from class org.apache.maven.building.StringSource
equals, getContent, getInputStream, getLocation, hashCode, toStringMethods inherited from interface org.apache.maven.building.Source
getInputStream, getLocation
-
Constructor Details
-
StringSettingsSource
Deprecated.Creates a new settings source backed by the specified string.- Parameters:
settings- The settings' string representation, may be empty ornull.
-
StringSettingsSource
Deprecated.Creates a new settings source backed by the specified string.- Parameters:
settings- The settings' string representation, may be empty ornull.location- The location to report for this use, may benull.
-
-
Method Details
-
getSettings
Deprecated.instead useStringSource.getContent()Gets the character sequence of this settings source.- Returns:
- The underlying character stream, never
null.
-
StringSource