com.symbian.et.test.controller
Class FrameworkBasedOperation
java.lang.Object
com.symbian.et.test.controller.FrameworkBasedOperation
- All Implemented Interfaces:
- com.symbian.et.widgets.cmdline.CmdOperational
- Direct Known Subclasses:
- BuildOperation, PrintOperation, RunOperation
- public abstract class FrameworkBasedOperation
- extends java.lang.Object
- implements com.symbian.et.widgets.cmdline.CmdOperational
Class specialized by all the command operation classes.
- Author:
- EngineeringTools
Field Summary |
protected static java.util.logging.Logger |
LOGGER
|
Method Summary |
private static void |
printDiagnostic(org.eclipse.emf.common.util.Diagnostic diagnostic)
Prints diagnostics with indentation. |
java.lang.Object |
run(com.symbian.et.widgets.cmdline.CmdLine aCmd)
|
protected abstract void |
runSpecial(com.symbian.et.widgets.cmdline.CmdLine aCmd,
com.symbian.et.test.driver.Task aTarget)
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 |
LOGGER
protected static final java.util.logging.Logger LOGGER
FrameworkBasedOperation
public FrameworkBasedOperation()
- Standard constructor.
run
public java.lang.Object run(com.symbian.et.widgets.cmdline.CmdLine aCmd)
throws org.apache.commons.cli.ParseException
-
- Specified by:
run
in interface com.symbian.et.widgets.cmdline.CmdOperational
- Parameters:
aCmd
-
- Throws:
org.apache.commons.cli.ParseException
- See Also:
CmdOperational.run(com.symbian.et.widgets.cmdline.CmdLine)
printDiagnostic
private static void printDiagnostic(org.eclipse.emf.common.util.Diagnostic diagnostic)
- Prints diagnostics with indentation.
- Parameters:
diagnostic
- the diagnostic to print.
runSpecial
protected abstract void runSpecial(com.symbian.et.widgets.cmdline.CmdLine aCmd,
com.symbian.et.test.driver.Task aTarget)
throws org.apache.commons.cli.ParseException
- Implements specific behavior in the subclass (Template Method design
pattern).
- Parameters:
aCmd
- The command to run using runSpecialaTarget
-
- Throws:
org.apache.commons.cli.ParseException
- If the commandline is incorrect.