Class CmsModuleImportFile

  • public class CmsModuleImportFile
    extends java.lang.Object
    A bean representing a module zip file to be imported.

    • Constructor Summary

      Constructor Description
      CmsModuleImportFile​(java.lang.String path)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CmsModule getModule()
      Gets the module data.
      java.lang.String getPath()
      Gets the path of the zip file.
      void loadAndValidate()
      Loads the module data from the zip file and validates whether the module is importable, throwing an exception otherwise.
      • Methods inherited from class java.lang.Object

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

      • CmsModuleImportFile

        public CmsModuleImportFile​(java.lang.String path)
        Creates a new instance.

        path - the path of the module zip file to import
    • Method Detail

      • getPath

        public java.lang.String getPath()
        Gets the path of the zip file.

        the path of the zip file