Package com.nomagic.magicdraw.ce
Class JavaCodeEngineeringManager
- java.lang.Object
-
- com.nomagic.magicdraw.ce.JavaCodeEngineeringManager
-
@OpenApiAll public class JavaCodeEngineeringManager extends java.lang.Object
Dedicated to JAVA code engineering sets. Provides specific options setters for Java language.
-
-
Constructor Summary
Constructors Constructor Description JavaCodeEngineeringManager()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.String[]
getJavaClasspath(Project project)
Given a project, returns applied array of classpaths.static void
setJavaClasspath(Project project, java.lang.String[] classpaths)
Applies given array of classpaths to java language options in provided project.static void
setResolveCollectionGenerics(Project project, boolean resolve)
-
-
-
Method Detail
-
setJavaClasspath
@OpenApi public static void setJavaClasspath(Project project, java.lang.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 java.lang.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)
Deprecated.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.
-
-