Class ModuleConfiguration

java.lang.Object
org.nuxeo.ecm.webengine.model.impl.ModuleConfiguration

public class ModuleConfiguration extends Object
Author:
Bogdan Stefanescu
  • Field Details

    • roots

      public Class<?>[] roots
      Paths of root resources in the module.
    • base

      public String base
    • name

      public String name
    • isHeadless

      public boolean isHeadless
      Don't publish module on the WebEngine main page.
    • moduleShortcuts

      public List<ModuleShortcut> moduleShortcuts
      A list of entry points into the module - to be shown in the main webengine page. This is optional and may be ignored if your don't want to provide shortcuts to your module entry points.
    • types

      public Class<?>[] types
      Web Types explicitly declared. If null no web types were explicitly declared and old type loading method from the generated web-types file should be used.
    • directory

      public File directory
      The module directory. Must be set by the client before registering the descriptor.
    • fragmentDirectories

      public List<File> fragmentDirectories
    • file

      public File file
      The module configuration file (this will be set by the module config parser)
    • natures

      public Set<String> natures
    • templateFileExt

      public String templateFileExt
    • mediatTypeRefs

      public MediaTypeRef[] mediatTypeRefs
    • engine

      public WebEngine engine
    • allowHostOverride

      public boolean allowHostOverride
  • Constructor Details

    • ModuleConfiguration

      public ModuleConfiguration()
    • ModuleConfiguration

      public ModuleConfiguration(WebEngine engine)
  • Method Details

    • getEngine

      public WebEngine getEngine()
    • setEngine

      public void setEngine(WebEngine engine)
    • getName

      public String getName()
    • getShortcuts

      public List<ModuleShortcut> getShortcuts()
    • getLinks

      public List<LinkDescriptor> getLinks()
    • getDirectory

      public File getDirectory()
    • getBase

      public String getBase()
    • get

      public Module get()
    • flushCache

      public void flushCache()
    • isLoaded

      public boolean isLoaded()
    • isHeadless

      public boolean isHeadless()
    • toString

      public String toString()
      Overrides:
      toString in class Object