de.jdemo.capture.anttasks
Class AbstractDemoAntRunner

java.lang.Object
  extended by de.jdemo.capture.anttasks.AbstractDemoAntRunner
Direct Known Subclasses:
FileDemoCaptureRunner, GuiCaptureRunner, StreamCaptureRunner, TextDemoCaptureRunner

public abstract class AbstractDemoAntRunner
extends java.lang.Object

Author:
Markus Gebhard

Field Summary
static int ERRORS
           
static int SUCCESS
           
 
Constructor Summary
AbstractDemoAntRunner(DemoIdentifier demoId, java.lang.ClassLoader classLoader)
           
 
Method Summary
protected  IDemoCase createDemo()
           
protected static void exitWithError(java.lang.String message)
           
protected static void exitWithError(java.lang.String message, java.lang.Exception e)
           
protected  DemoIdentifier getDemoIdentifier()
           
abstract  void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERRORS

public static final int ERRORS
See Also:
Constant Field Values

SUCCESS

public static final int SUCCESS
See Also:
Constant Field Values
Constructor Detail

AbstractDemoAntRunner

public AbstractDemoAntRunner(DemoIdentifier demoId,
                             java.lang.ClassLoader classLoader)
Method Detail

run

public abstract void run()

getDemoIdentifier

protected DemoIdentifier getDemoIdentifier()

createDemo

protected IDemoCase createDemo()
                        throws org.apache.tools.ant.BuildException
Throws:
org.apache.tools.ant.BuildException

exitWithError

protected static void exitWithError(java.lang.String message)

exitWithError

protected static void exitWithError(java.lang.String message,
                                    java.lang.Exception e)


JDemo homepage: http://www.jdemo.de
Copyright © 2003-2008 Markus Gebhard. All Rights Reserved.