org.malai.interaction
Class TerminalState

java.lang.Object
  extended by org.malai.interaction.State
      extended by org.malai.interaction.TerminalState
All Implemented Interfaces:
IState, TargetableState

public class TerminalState
extends State
implements TargetableState

This state defines a terminal state that ends the interaction.

This file is part of Malai.
Copyright (c) 2009-2012 Arnaud BLOUIN

Malai is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Malai is distributed without any warranty; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

05/19/2010

Since:
0.1
Author:
Arnaud BLOUIN

Field Summary
 
Fields inherited from class org.malai.interaction.State
name, stateMachine, transitions
 
Constructor Summary
TerminalState(java.lang.String name)
           
 
Method Summary
 void onIngoing()
           
 
Methods inherited from class org.malai.interaction.State
addTransition, getName, getStateMachine, getTransition, getTransitions, setStateMachine, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.malai.stateMachine.IState
addTransition, getName, getStateMachine, getTransition, getTransitions, setStateMachine
 

Constructor Detail

TerminalState

public TerminalState(java.lang.String name)
See Also:
State.State(String)
Method Detail

onIngoing

public void onIngoing()
               throws MustAbortStateMachineException
Specified by:
onIngoing in interface TargetableState
Throws:
MustAbortStateMachineException - To launch when the state machine must stop.