Package org.nuiton.jaxx.compiler.tasks
Class CompileFirstPassTask
- java.lang.Object
-
- org.nuiton.jaxx.compiler.tasks.JAXXEngineTask
-
- org.nuiton.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 - dev@tchemit.fr
-
-
Constructor Summary
Constructors Constructor Description CompileFirstPassTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanperform(JAXXEngine engine)Performs the task on the givenengine.protected booleantreatFile(JAXXEngine engine, JAXXCompilerFile jaxxFile)-
Methods inherited from class org.nuiton.jaxx.compiler.tasks.JAXXEngineTask
addEndProfileTime, addStartProfileTime, checkAllFilesCompiled, getName
-
-
-
-
Field Detail
-
TASK_NAME
public static final String TASK_NAME
Task name- See Also:
- Constant Field Values
-
-
Method Detail
-
perform
public boolean perform(JAXXEngine engine) throws Exception
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:
Exception- if any error
-
treatFile
protected boolean treatFile(JAXXEngine engine, JAXXCompilerFile jaxxFile) throws Exception
- Throws:
Exception
-
-