Class Projects

java.lang.Object
uno.anahata.ai.nb.tools.Projects

public class Projects extends Object
  • Constructor Details

    • Projects

      public Projects()
  • Method Details

    • getOpenProjects

      public static List<String> getOpenProjects()
    • openProject

      public static String openProject(String projectId) throws Exception
      Throws:
      Exception
    • getSupportedActions

      public static String[] getSupportedActions(String projectId) throws Exception
      Throws:
      Exception
    • getOverview

      public static ProjectOverview getOverview(String projectId)
    • getOverview

      public static ProjectOverview getOverview(String projectId, Chat chat)
    • invokeAction

      public static void invokeAction(String projectId, String action) throws Exception
      Throws:
      Exception
    • findProject

      public static org.netbeans.api.project.Project findProject(String id)
    • isParentProject

      public static boolean isParentProject(String projectId)
      Checks if a project is a Maven parent project (packaging 'pom' and has submodules).
      Parameters:
      projectId - the project ID
      Returns:
      true if it's a parent project, false otherwise.
    • listAllKnownPreferences

      public static String listAllKnownPreferences(String projectId)