Class ApplicationConstants

java.lang.Object
com.nomagic.runtime.RuntimeConstants
com.nomagic.magicdraw.core.ApplicationConstants

@OpenApi @Deprecated public class ApplicationConstants extends RuntimeConstants
Deprecated.
This class holds application specific constants.
  • Field Details

  • Method Details

    • setApplicationName

      @OpenApi @Deprecated public static void setApplicationName(String name)
      Deprecated.
      use {@link Application#runtimeInternal#setApplicationName(String)}
      Set the name of the application.
      Parameters:
      name - application name
    • getApplicationName

      @OpenApi @Deprecated public static String getApplicationName()
      Deprecated.
      use {@link Application#runtime#getApplicationName()}
      Returns application name
      Returns:
      application name
    • getTemplatesDirectory

      @OpenApi @Deprecated public static String getTemplatesDirectory()
      Deprecated.
      use {@link Application#environment#getTemplatesDirectory()}
      Gets project templates directory.
      Returns:
      project templates directory.