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 String
Deprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(SettingsProblem.Severity severity, String message, int line, int column, Exception cause) Deprecated.Adds the specified problem.Deprecated.void
Deprecated.
-
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:SettingsProblemCollector
Adds the specified problem.- Specified by:
add
in 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-1
if unknown.column
- The one-based index of the column containing the problem or-1
if unknown.cause
- The cause of the problem, may benull
.
-
SettingsBuilder
instead