Class DefaultSettingsProblemCollector
java.lang.Object
org.apache.maven.settings.building.DefaultSettingsProblemCollector
- All Implemented Interfaces:
SettingsProblemCollector
@Deprecated(since="4.0.0")
class DefaultSettingsProblemCollector
extends Object
implements SettingsProblemCollector
Deprecated.
Collects problems that are encountered during settings building.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<SettingsProblem> Deprecated.private StringDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(SettingsProblem.Severity severity, String message, int line, int column, Exception cause) Deprecated.Adds the specified problem.Deprecated.voidDeprecated.
-
Field Details
-
problems
Deprecated. -
source
Deprecated.
-
-
Constructor Details
-
DefaultSettingsProblemCollector
DefaultSettingsProblemCollector(List<SettingsProblem> problems) Deprecated.
-
-
Method Details
-
getProblems
Deprecated. -
setSource
Deprecated. -
add
public void add(SettingsProblem.Severity severity, String message, int line, int column, Exception cause) Deprecated.Description copied from interface:SettingsProblemCollectorAdds the specified problem.- Specified by:
addin interfaceSettingsProblemCollector- Parameters:
severity- The severity of the problem, must not benull.message- The detail message of the problem, may benull.line- The one-based index of the line containing the problem or-1if unknown.column- The one-based index of the column containing the problem or-1if unknown.cause- The cause of the problem, may benull.
-
SettingsBuilderinstead