public class ModuleConfig extends Object implements Cloneable
Base class to hold modules' configuration options
Modifier and Type | Field and Description |
---|---|
boolean |
enabled
Reflects state of the module (enable/disable)
|
String |
id
Unique ID of the module.
|
String |
moduleClass
Class implementing the module (will be instantiated when module is loaded)
|
String |
name
User chosen name for the module
|
Constructor and Description |
---|
ModuleConfig() |
@DisplayInfo(label="Module ID", desc="Unique local ID of the module") public String id
@DisplayInfo(label="Module Class", desc="Module implementation class") public String moduleClass
@DisplayInfo(label="Module Name") public String name
@DisplayInfo(label="Enable", desc="Module state (enabled or disabled)") public boolean enabled
public ModuleConfig clone()
Copyright © 2015 Sensia Software LLC. All rights reserved.