|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.almende.eve.state.FileStateFactory
public class FileStateFactory
Constructor Summary | |
---|---|
FileStateFactory(AgentFactory agentFactory,
Map<String,Object> params)
This constructor is called when constructed by the AgentFactory |
|
FileStateFactory(String path)
|
Method Summary | |
---|---|
FileState |
create(String agentId)
Create a state with given id. |
void |
delete(String agentId)
Delete a state. |
boolean |
exists(String agentId)
Test if a state with given agentId exists |
FileState |
get(String agentId)
Get state with given id. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FileStateFactory(AgentFactory agentFactory, Map<String,Object> params)
agentFactory
- params
- public FileStateFactory(String path)
Method Detail |
---|
public FileState get(String agentId)
get
in interface StateFactory
agentId
-
public FileState create(String agentId) throws Exception
create
in interface StateFactory
agentId
-
Exception
public void delete(String agentId)
delete
in interface StateFactory
agentId
- public boolean exists(String agentId)
exists
in interface StateFactory
agentId
-
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |