nl.tudelft.goal.EIS2Java.handlers
Class DefaultActionHandler

Package class diagram package DefaultActionHandler
java.lang.Object
  extended by nl.tudelft.goal.EIS2Java.handlers.ActionHandler
      extended by nl.tudelft.goal.EIS2Java.handlers.DefaultActionHandler

public class DefaultActionHandler
extends ActionHandler


Field Summary
protected  Map<String,Method> actionMethods
           
protected  Object entity
           
 
Constructor Summary
DefaultActionHandler(Object entity)
           
 
Method Summary
 boolean isSupportedByEntity(eis.iilang.Action action)
           
 eis.iilang.Percept performAction(eis.iilang.Action action)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

actionMethods

protected final Map<String,Method> actionMethods

entity

protected final Object entity
Constructor Detail

DefaultActionHandler

public DefaultActionHandler(Object entity)
                     throws eis.exceptions.EntityException
Throws:
eis.exceptions.EntityException
Method Detail

isSupportedByEntity

public final boolean isSupportedByEntity(eis.iilang.Action action)
Specified by:
isSupportedByEntity in class ActionHandler

performAction

public final eis.iilang.Percept performAction(eis.iilang.Action action)
                                       throws eis.exceptions.ActException
Specified by:
performAction in class ActionHandler
Throws:
eis.exceptions.ActException


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.