public static final class ProjectProblemsProvider.ProjectProblem extends Object
@NonNull public ProjectProblemsProvider.Severity getSeverity()
ProjectProblemsProvider.ProjectProblem
severity.ProjectProblemsProvider.Severity
@NonNull public String getDisplayName()
@NonNull public String getDescription()
public boolean isResolvable()
public Future<ProjectProblemsProvider.Result> resolve()
Future
which is completed by the background thread.Future
holding the problem resolution status.@NonNull public static ProjectProblemsProvider.ProjectProblem createError(@NonNull String displayName, @NonNull String description, @NonNull ProjectProblemResolver resolver)
ProjectProblemsProvider.ProjectProblem
with error ProjectProblemsProvider.Severity
.displayName
- the project problem display name.description
- the project problem description.resolver
- the ProjectProblemResolver
to resolve the problem.ProjectProblemsProvider.ProjectProblem
@NonNull public static ProjectProblemsProvider.ProjectProblem createError(@NonNull String displayName, @NonNull String description)
ProjectProblemsProvider.ProjectProblem
with error ProjectProblemsProvider.Severity
.displayName
- the project problem display name.description
- the project problem description.ProjectProblemsProvider.ProjectProblem
@NonNull public static ProjectProblemsProvider.ProjectProblem createWarning(@NonNull String displayName, @NonNull String description, @NonNull ProjectProblemResolver resolver)
ProjectProblemsProvider.ProjectProblem
with warning ProjectProblemsProvider.Severity
.displayName
- the project problem display name.description
- the project problem description.resolver
- the ProjectProblemResolver
to resolve the problem.ProjectProblemsProvider.ProjectProblem
@NonNull public static ProjectProblemsProvider.ProjectProblem createWarning(@NonNull String displayName, @NonNull String description)
ProjectProblemsProvider.ProjectProblem
with warning ProjectProblemsProvider.Severity
.displayName
- the project problem display name.description
- the project problem description.ProjectProblemsProvider.ProjectProblem