io.sarl.sre.janus.skills.bic
Interface FailureListener
All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
TaskAgentFailureEventEmitter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or action reference.
@java.lang.FunctionalInterface
interface FailureListener
implements java.util.EventListener
Listener on events related to the task failures.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Since:
0.12
Action Summary
Modifier and type Action and description
abstract void taskFailed(AgentTask,Throwable)
Invoked when a task has failed.
Action Details
taskFailed(AgentTask,Throwable)
def taskFailed(AgentTask,Throwable)
Invoked when a task has failed.
Parameters:
task - the failing task.
failureCause - the cause of the failure.