java.lang.Object
org.tentackle.common.ModuleInfo
Holds information about a module.
- Author:
- harald
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHook()Gets the module hook.Gets the module.intGets the module ordinal.
Higher values come first in module order.Gets the names of the required modules.Gets the URL path of the hook's module.voidsetOrdinal(int ordinal) Sets the ordinal.
Higher values come first in module order.toString()
-
Constructor Details
-
ModuleInfo
Creates a module info.- Parameters:
hook- the module hook
-
-
Method Details
-
getHook
Gets the module hook.- Returns:
- the hook
-
getUrlPath
Gets the URL path of the hook's module.- Returns:
- the url path
-
getModule
Gets the module.- Returns:
- the module
-
getRequiredModuleNames
Gets the names of the required modules.- Returns:
- the directly required names
-
getOrdinal
public int getOrdinal()Gets the module ordinal.
Higher values come first in module order.- Returns:
- the ordinal
-
setOrdinal
public void setOrdinal(int ordinal) Sets the ordinal.
Higher values come first in module order.- Parameters:
ordinal- the ordinal
-
toString
-