org.tango.server.testserver
Class DynamicCommandTest

java.lang.Object
  extended by org.tango.server.testserver.DynamicCommandTest
All Implemented Interfaces:
ICommandBehavior

public final class DynamicCommandTest
extends java.lang.Object
implements ICommandBehavior

To test dynamic commands

Author:
ABEILLE

Constructor Summary
DynamicCommandTest(java.lang.Class<?> clazz)
           
 
Method Summary
 java.lang.Object execute(java.lang.Object arg)
          Execute the command
 CommandConfiguration getConfiguration()
           
 StateMachineBehavior getStateMachine()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicCommandTest

public DynamicCommandTest(java.lang.Class<?> clazz)
                   throws fr.esrf.Tango.DevFailed
Throws:
fr.esrf.Tango.DevFailed
Method Detail

execute

public java.lang.Object execute(java.lang.Object arg)
                         throws fr.esrf.Tango.DevFailed
Description copied from interface: ICommandBehavior
Execute the command

Specified by:
execute in interface ICommandBehavior
Parameters:
arg - the input of the command
Returns:
The ouput of the command
Throws:
fr.esrf.Tango.DevFailed

getConfiguration

public CommandConfiguration getConfiguration()
                                      throws fr.esrf.Tango.DevFailed
Specified by:
getConfiguration in interface ICommandBehavior
Returns:
the command configuration
Throws:
fr.esrf.Tango.DevFailed

getStateMachine

public StateMachineBehavior getStateMachine()
Specified by:
getStateMachine in interface ICommandBehavior
Returns:
the command state machine


Copyright © 2012-2014. All Rights Reserved.