public class Module
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<ModelInstance> |
findModelInstances()
Finds all model instances of this module.
|
java.util.List<ModelInstance> |
findModelInstances(ModelInstanceState state,
ModelInstanceState... rest)
Finds all model instances of this module with specified states.
|
java.lang.String |
getHash()
Returns the module hash.
|
long |
getId()
Returns the module id.
|
java.lang.String |
getName()
Returns the module name.
|
LspsRemote |
getRemote()
Returns the associated remote.
|
java.lang.String |
getVersion()
Returns the module version.
|
int |
hashCode() |
ModelInstance |
startModelInstance()
Starts model instance as a user connected via associated remote.
|
ModelInstance |
startModelInstance(java.util.Map<java.lang.String,java.lang.String> properties)
Starts a model instance using given properties.
|
ModelInstance |
startModelInstance(java.lang.String personId)
Starts a model instance as a specific user.
|
java.lang.String |
toString() |
void |
unload()
Unloads this module.
|
void |
unloadWithDependentModules()
Unloads this module with it's dependent modules.
|
public LspsRemote getRemote()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public long getId()
public java.lang.String getName()
public java.lang.String getVersion()
public java.lang.String getHash()
public void unload()
public void unloadWithDependentModules()
public ModelInstance startModelInstance()
public ModelInstance startModelInstance(java.lang.String personId)
personId
- the model instance initiator (the user's identifier)public ModelInstance startModelInstance(java.util.Map<java.lang.String,java.lang.String> properties)
properties
- null
public java.util.List<ModelInstance> findModelInstances()
public java.util.List<ModelInstance> findModelInstances(ModelInstanceState state, ModelInstanceState... rest)
state
- rest
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.