org.tango.server.dynamic.command
Class GroupCommand

java.lang.Object
  extended by org.tango.server.dynamic.command.GroupCommand
All Implemented Interfaces:
ICommandBehavior

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


Constructor Summary
GroupCommand(java.lang.String commandName, fr.esrf.TangoApi.Group.Group group)
           
GroupCommand(java.lang.String commandName, java.lang.String... deviceNames)
           
 
Method Summary
 java.lang.Object execute(java.lang.Object arg)
          execute all commands and read back all errors
 CommandConfiguration getConfiguration()
           
 java.util.Map<java.lang.String,java.lang.String> getErrorReportMap()
           
 StateMachineBehavior getStateMachine()
           
 boolean isArgPrimitiveType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupCommand

public GroupCommand(java.lang.String commandName,
                    fr.esrf.TangoApi.Group.Group group)
             throws fr.esrf.Tango.DevFailed
Throws:
fr.esrf.Tango.DevFailed

GroupCommand

public GroupCommand(java.lang.String commandName,
                    java.lang.String... deviceNames)
             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
execute all commands and read back all errors

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()
Specified by:
getConfiguration in interface ICommandBehavior
Returns:
the command configuration

getErrorReportMap

public java.util.Map<java.lang.String,java.lang.String> getErrorReportMap()

getStateMachine

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

isArgPrimitiveType

public boolean isArgPrimitiveType()


Copyright © 2012-2016. All Rights Reserved.