Class JavaModule

    • Method Detail

      • isExternal

        public boolean isExternal()
        Description copied from class: Module
        This returns true only if the module is from another language than a QDL module.
        Overrides:
        isExternal in class Module
        Returns:
      • getClassname

        public String getClassname()
      • setClassName

        public void setClassName​(String className)
      • getLoaderClassName

        public String getLoaderClassName()
      • setLoaderClassName

        public void setLoaderClassName​(String loaderClassName)
      • init

        public void init​(State state)
        This is critical in that it puts all the functions and variables (with their correct alias) in to the state for this module. Normally this is called when module_import is invoked on each module, so generally you do not need to call this ever. It is, however, what makes any module work.
        Parameters:
        state -
      • init

        public void init​(State state,
                         boolean doVariables)
      • createDefaultDocs

        public List<String> createDefaultDocs()
        Creates the documentation from the first of each line of every function. Use this or override as needed.
        Returns:
      • getDescription

        public List<String> getDescription()
        The createDefaultDocs() will create basic documentation for functions and such, and is called automatically during module init(State), but the actual description of this module -- if any -- is done here. Override and return your description.
        Returns:
      • hasMetaClass

        public boolean hasMetaClass()