es.upv.dsic.gti_ia.cAgents
Class FinalState
java.lang.Object
es.upv.dsic.gti_ia.cAgents.State
es.upv.dsic.gti_ia.cAgents.FinalState
- All Implemented Interfaces:
- Cloneable
public class FinalState
- extends State
This class represents a final state during an interaction protocol.
When a conversation reaches this state it executes the state's method.
- Author:
- Ricard Lopez Fogues
FinalState
public FinalState(String n)
- Create a new final state
- Parameters:
name - of the state
setMethod
public void setMethod(FinalStateMethod method)
- Set the method that will be executed when a conversation reaches this state
- Parameters:
The - method of this state
getMethod
public FinalStateMethod getMethod()
- Returns the method assigned to this state by the setMethod() function
- Returns:
- This state's method
Copyright © 2012 GTI-IA. All Rights Reserved.