io.sarl.sre.janus.services.lifecycle
Interface SkillUninstaller
All Known Implementing Classes:
BasicSkillUninstaller
interface SkillUninstaller
Install and uninstall the skills.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Since:
0.6.0
Action Summary
Modifier and type Action and description
abstract void uninstallSkillsAfterDestroy(Agent,List<E>)
Uninstall the skills after the destroying event handler of the agent is invoked.
abstract java.util.List<E> uninstallSkillsBeforeDestroy(Agent)
Uninstall the skills before the destroying event handler of the agent is invoked.
Action Details
uninstallSkillsAfterDestroy(Agent,List<E>)
def uninstallSkillsAfterDestroy(Agent,List<E>)
Uninstall the skills after the destroying event handler of the agent is invoked.
Parameters:
agent - the agent for which the skills should be uninstalled.
skills - the skills given by uninstallSkillsBeforeDestroy(io.sarl.lang.core.Agent).
uninstallSkillsBeforeDestroy(Agent)
def uninstallSkillsBeforeDestroy(Agent) : java.util.List<E>
Uninstall the skills before the destroying event handler of the agent is invoked.
Parameters:
agent - the agent for which the skills should be uninstalled.
Returns:
the skills to pass to #uninstallSkillsAfterDestroy(io.sarl.lang.core.Agent, java.util.Iterable) .