Class ProjectDiagnostics

java.lang.Object
uno.anahata.asi.nb.tools.project.alerts.ProjectDiagnostics

public final class ProjectDiagnostics extends Object
A container for all diagnostics found during a project scan.
  • Field Details

    • projectName

      private final String projectName
      The display name of the project associated with these diagnostics.
    • javacAlerts

      private final List<JavacAlert> javacAlerts
      A list of Java compiler alerts found during the project scan.
    • projectAlerts

      private final List<ProjectAlert> projectAlerts
      A list of high-level project problems found during the project scan.
  • Constructor Details

    • ProjectDiagnostics

      public ProjectDiagnostics(String projectName)
      Constructs a new diagnostics container for the specified project.
      Parameters:
      projectName - The display name of the project.
  • Method Details

    • addJavacAlert

      public void addJavacAlert(JavacAlert alert)
      Adds a Java compiler alert to the diagnostics.
      Parameters:
      alert - The compiler alert to add.
    • addProjectAlert

      public void addProjectAlert(ProjectAlert alert)
      Adds a high-level project alert to the diagnostics.
      Parameters:
      alert - The project alert to add.