org.micropsi.comp.agent.micropsi
Class AgentStateRepository
java.lang.Object
org.micropsi.comp.agent.micropsi.AgentStateRepository
- public class AgentStateRepository
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AgentStateRepository
public AgentStateRepository(java.lang.String directoryname,
java.lang.String defaultstate)
throws MicropsiException
AgentStateRepository
public AgentStateRepository(java.io.File directory,
java.lang.String defaultstate)
throws MicropsiException
getDefaultAgentState
public java.lang.String getDefaultAgentState()
getAgentStates
public java.util.ArrayList getAgentStates()
deleteAgentState
public void deleteAgentState(java.lang.String state)
renameAgentState
public void renameAgentState(java.lang.String oldname,
java.lang.String newname)
createAgentState
public void createAgentState(java.lang.String stateName)
throws java.io.IOException
- Throws:
java.io.IOException
stateExists
public boolean stateExists(java.lang.String agentState)
getAgentStateDataPath
public java.lang.String getAgentStateDataPath(java.lang.String agentState)
getAgentStateMetadataPath
public java.lang.String getAgentStateMetadataPath(java.lang.String agentState)
.