Package com.exasol.udfdebugging.modules
Class AbstractModuleFactory
- java.lang.Object
-
- com.exasol.udfdebugging.modules.AbstractModuleFactory
-
- All Implemented Interfaces:
ModuleFactory
- Direct Known Subclasses:
CoverageModuleFactory,DebuggingModuleFactory,JProfilerModuleFactory
public abstract class AbstractModuleFactory extends Object implements ModuleFactory
Abstract basis forModule.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractModuleFactory(String moduleName)Create a new instance ofAbstractModuleFactory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetModulePropertyName()Get the name of the property to enable this module.booleanisEnabled()Get if this module is enabled by system property.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.exasol.udfdebugging.ModuleFactory
buildModule
-
-
-
-
Constructor Detail
-
AbstractModuleFactory
protected AbstractModuleFactory(String moduleName)
Create a new instance ofAbstractModuleFactory.- Parameters:
moduleName- name of the module
-
-
Method Detail
-
isEnabled
public final boolean isEnabled()
Description copied from interface:ModuleFactoryGet if this module is enabled by system property.- Specified by:
isEnabledin interfaceModuleFactory- Returns:
trueif this module is enabled
-
getModulePropertyName
public String getModulePropertyName()
Description copied from interface:ModuleFactoryGet the name of the property to enable this module.- Specified by:
getModulePropertyNamein interfaceModuleFactory- Returns:
- name of the property to enable this module
-
-