Class ModuleProject


  • public class ModuleProject
    extends java.lang.Object
    Class used to load an iizi Module project from a directory for the Server when running as an Eclipse Run Configuration.
    Author:
    Christopher Mindus
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String MODULE_DIRECTORY_NAME
      The Module project subdirectory name: "iiziModule".
      static java.lang.String MODULE_PROJECT_FILE_NAME
      The Module project settings file name: ".iiziModuleProject";
    • Constructor Summary

      Constructors 
      Constructor Description
      ModuleProject()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ModuleProjectPropCnr loadModuleProject​(IAppLoader loader, java.io.File dir, HotDeploy hotDeploy, boolean isVerbose)
      Loads an iizi Module project that consists of discrete files in a directory structure.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE_DIRECTORY_NAME

        public static final java.lang.String MODULE_DIRECTORY_NAME
        The Module project subdirectory name: "iiziModule".
        See Also:
        Constant Field Values
      • MODULE_PROJECT_FILE_NAME

        public static final java.lang.String MODULE_PROJECT_FILE_NAME
        The Module project settings file name: ".iiziModuleProject";
        See Also:
        Constant Field Values
    • Constructor Detail

      • ModuleProject

        public ModuleProject()
    • Method Detail

      • loadModuleProject

        public static ModuleProjectPropCnr loadModuleProject​(IAppLoader loader,
                                                             java.io.File dir,
                                                             HotDeploy hotDeploy,
                                                             boolean isVerbose)
                                                      throws java.io.IOException,
                                                             PropException
        Loads an iizi Module project that consists of discrete files in a directory structure.
        Parameters:
        loader - The loader instance.
        dir - The directory containing the ".project" file, the ".iiziModuleProject" project file, and optionally the ".iiziPush" and ".iiziPWA" files (Push Notification and Progressive Web App respectively).
        hotDeploy - The hot deploy instance for the app, null for cold deploy.
        isVerbose - Verbose output.
        Throws:
        java.io.IOException - For file errors.
        PropException - For property errors.