public class Module extends Object
Modifier and Type | Field and Description |
---|---|
long |
id
The module id.
|
Constructor and Description |
---|
Module(Module module)
Creates the remote for controlling uploaded module.
|
Modifier and Type | Method and Description |
---|---|
String |
getHash()
Returns the module hash.
|
long |
getId()
Returns the module id.
|
String |
getName()
Returns the module name.
|
String |
getVersion()
Returns the module version.
|
ModelInstance |
startModelInstance()
Starts model instance as user 'admin'.
|
ModelInstance |
startModelInstance(String personId)
Starts model instance as a specific user.
|
void |
unload()
Unloads this module.
|
void |
unloadWithDependentModules()
Unloads this module with it's dependent modules.
|
public Module(Module module)
module
- the modulepublic long getId()
public String getName()
public String getVersion()
public String getHash()
public void unload()
public void unloadWithDependentModules()
public ModelInstance startModelInstance()
public ModelInstance startModelInstance(String personId)
personId
- the user's identifierCopyright © 2007-2018 Whitestein Technologies. All Rights Reserved.