Class ApplicationConstants


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

      • MAGICDRAW_NAME

        @OpenApi
        @Deprecated
        public static final java.lang.String MAGICDRAW_NAME
        Deprecated.
        Use RebrandingConfigurator.getProductName() with no "UML" addition in name. Use {@link Application#runtimeInternal#MAGICDRAW_UML} if old reference is required (usually for import).
        Application name
        See Also:
        Constant Field Values
    • Constructor Detail

      • ApplicationConstants

        private ApplicationConstants()
        Deprecated.
    • Method Detail

      • setApplicationName

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

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

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