com.symbian.et.test.driver.commands
Class FrameworkBasedOperation
java.lang.Object
com.symbian.et.test.driver.commands.FrameworkBasedOperation
- All Implemented Interfaces:
- CmdOperational
- Direct Known Subclasses:
- BuildOperation, PrintOperation, RunOperation
- public abstract class FrameworkBasedOperation
- extends java.lang.Object
- implements CmdOperational
class specialized by all the command operation classes
- Author:
- EngineeringTools
Method Summary |
java.lang.Object |
run(CmdLine aCmd)
executes command |
protected abstract com.symbian.et.test.framework.Visitor |
runSpecial(CmdLine aCmd)
implements specific behavior in the subclass (Template Method design pattern) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iXMLRoot
protected java.lang.String iXMLRoot
iEntryPointAddress
protected java.lang.String iEntryPointAddress
FrameworkBasedOperation
public FrameworkBasedOperation()
- standard constructor
run
public java.lang.Object run(CmdLine aCmd)
throws CmdLineException
- Description copied from interface:
CmdOperational
- executes command
- Specified by:
run
in interface CmdOperational
- Parameters:
aCmd
- command syntax
- Returns:
- any type of object the implementation of this interface needed to return
- Throws:
CmdLineException
- if the command couldn't be processed
runSpecial
protected abstract com.symbian.et.test.framework.Visitor runSpecial(CmdLine aCmd)
throws CmdLineException
- implements specific behavior in the subclass (Template Method design pattern)
- Parameters:
aCmd
-
- Returns:
- The visitor for the operation.
- Throws:
CmdLineException
- If the commandline is incorrect.