Class ProjectOverview

java.lang.Object
uno.anahata.asi.nb.tools.project.ProjectOverview

public final class ProjectOverview extends Object
Represents a high-level, structured overview of a NetBeans project.

This DTO aggregates critical project metadata including environmental settings (Java versions, encoding), runtime capabilities (actions), and a token-efficient representation of declared dependencies. It serves as the primary "identity card" for a project within the ASI framework.

Author:
anahata
  • Field Details

    • id

      private final String id
      The project ID, which is typically the folder name.
    • displayName

      private final String displayName
      The human-readable display name of the project as shown in the IDE.
    • htmlDisplayName

      private final String htmlDisplayName
      The HTML-formatted display name, potentially containing IDE status annotations (e.g. Git branch).
    • projectDirectory

      private final String projectDirectory
      The absolute physical path to the project's root directory.
    • packaging

      private final String packaging
      The project's packaging type (e.g., 'jar', 'nbm'). Null for non-Maven projects.
    • actions

      private final List<String> actions
      A list of supported NetBeans Project Actions that can be invoked (e.g., 'build', 'run').
    • mavenDeclaredDependencies

      private final List<DependencyScope> mavenDeclaredDependencies
      The list of dependencies directly declared in the pom.xml, optimized for token efficiency.
    • javaSourceLevel

      private final String javaSourceLevel
      The Java source level version of the project (e.g., '17').
    • javaTargetLevel

      private final String javaTargetLevel
      The Java target level version for the compiled bytecode.
    • sourceEncoding

      private final String sourceEncoding
      The source file encoding for the project.
    • compileOnSave

      private final String compileOnSave
      The effective status of 'Compile on Save' (includes the configuration source).
  • Constructor Details

    • ProjectOverview

      public ProjectOverview()