Class JavaCodeEngineeringManager

java.lang.Object
com.nomagic.magicdraw.ce.JavaCodeEngineeringManager

@OpenApiAll public class JavaCodeEngineeringManager extends Object
Dedicated to JAVA code engineering sets. Provides specific options setters for Java language.
  • Constructor Details

    • JavaCodeEngineeringManager

      public JavaCodeEngineeringManager()
  • Method Details

    • setJavaClasspath

      @OpenApi public static void setJavaClasspath(Project project, String[] classpaths)
      Applies given array of classpaths to java language options in provided project.
      Parameters:
      project - MagicDraw project, which has java code engineering sets.
      classpaths - array of classpaths.
    • getJavaClasspath

      @OpenApi public static String[] getJavaClasspath(Project project)
      Given a project, returns applied array of classpaths.
      Parameters:
      project - MagicDraw project that has applied java classpaths.
      Returns:
      Array of classpath, which was applied for project.
    • setResolveCollectionGenerics

      @Deprecated public static void setResolveCollectionGenerics(Project project, boolean resolve)
      Reverse engineering option, to enable resolve collection generic. Applies for all project's code engineering sets.
      Parameters:
      project - MD project.
      resolve - True, to resolve, false to not resolve.