Package jaxx.compiler.tasks
Class CompileFirstPassTask
java.lang.Object
jaxx.compiler.tasks.JAXXEngineTask
jaxx.compiler.tasks.CompileFirstPassTask
public class CompileFirstPassTask extends JAXXEngineTask
First compile pass task to validate jaxx files and look after dependencies.
- Since:
- 2.0.2
- Author:
- Tony Chemit - chemit@codelutin.com
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTASK_NAMETask name -
Constructor Summary
Constructors Constructor Description CompileFirstPassTask() -
Method Summary
Modifier and Type Method Description booleanperform(JAXXEngine engine)Performs the task on the givenengine.protected booleantreatFile(JAXXEngine engine, JAXXCompilerFile jaxxFile)Methods inherited from class jaxx.compiler.tasks.JAXXEngineTask
addEndProfileTime, addStartProfileTime, checkAllFilesCompiled, getNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
TASK_NAME
public static final java.lang.String TASK_NAMETask name- See Also:
- Constant Field Values
-
-
Constructor Details
-
CompileFirstPassTask
public CompileFirstPassTask()
-
-
Method Details
-
perform
Description copied from class:JAXXEngineTaskPerforms the task on the givenengine.- Specified by:
performin classJAXXEngineTask- Parameters:
engine- the engine to use- Returns:
falseif task failed (with no exception),trueotherwise.- Throws:
java.lang.Exception- if any error
-
treatFile
protected boolean treatFile(JAXXEngine engine, JAXXCompilerFile jaxxFile) throws java.lang.Exception- Throws:
java.lang.Exception
-