jaxx.compiler.tasks
Class JAXXEngineTask

java.lang.Object
  extended by jaxx.compiler.tasks.JAXXEngineTask
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CompileFirstPassTask, CompileSecondPassTask, FinalizeTask, GenerateTask, InitTask, ProfileTask, StyleSheetTask

public abstract class JAXXEngineTask
extends Object
implements Serializable

Base class to implement a task to be launched by a JAXXEngine.

The perform(JAXXEngine) method contains the logic of the task.

Since:
2.0.2
Author:
tchemit
See Also:
Serialized Form

Constructor Summary
JAXXEngineTask(String name)
           
 
Method Summary
protected  void addEndProfileTime(JAXXEngine engine, JAXXCompiler compiler)
           
protected  void addStartProfileTime(JAXXEngine engine, JAXXCompiler compiler)
           
 String getName()
           
protected  JAXXCompiler getSafeCompiler(JAXXCompilerFile engine)
           
abstract  boolean perform(JAXXEngine engine)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXXEngineTask

public JAXXEngineTask(String name)
Method Detail

perform

public abstract boolean perform(JAXXEngine engine)
                         throws Exception
Throws:
Exception

getName

public String getName()

addStartProfileTime

protected void addStartProfileTime(JAXXEngine engine,
                                   JAXXCompiler compiler)

addEndProfileTime

protected void addEndProfileTime(JAXXEngine engine,
                                 JAXXCompiler compiler)

getSafeCompiler

protected JAXXCompiler getSafeCompiler(JAXXCompilerFile engine)


Copyright © 2008-2010 CodeLutin. All Rights Reserved.