jaxx.compiler.tasks
Class GenerateTask

java.lang.Object
  extended by jaxx.compiler.tasks.JAXXEngineTask
      extended by jaxx.compiler.tasks.GenerateTask

public class GenerateTask
extends JAXXEngineTask

Last task to generate java files.

Since:
2.0.2
Author:
tchemit

Field Summary
static String TASK_NAME
          Task name
 
Constructor Summary
GenerateTask()
           
 
Method Summary
 void consumeCompiler(JAXXCompiler compiler, JavaFileGenerator generator)
           
protected  void optimizeConstructorParameters(JavaFile f, org.nuiton.eugene.java.extension.ImportsManager importsManager)
           
 List<String> optimizeImports(JavaFile f, String packageName)
           
 boolean perform(JAXXEngine engine)
          Performs the task on the given engine.
 
Methods inherited from class jaxx.compiler.tasks.JAXXEngineTask
addEndProfileTime, addStartProfileTime, checkAllFilesCompiled, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TASK_NAME

public static final String TASK_NAME
Task name

See Also:
Constant Field Values
Constructor Detail

GenerateTask

public GenerateTask()
Method Detail

perform

public boolean perform(JAXXEngine engine)
                throws Exception
Description copied from class: JAXXEngineTask
Performs the task on the given engine.

Specified by:
perform in class JAXXEngineTask
Parameters:
engine - the engine to use
Returns:
false if task failed (with no exception), true otherwise.
Throws:
Exception - if any error

consumeCompiler

public void consumeCompiler(JAXXCompiler compiler,
                            JavaFileGenerator generator)
                     throws IOException
Throws:
IOException

optimizeImports

public List<String> optimizeImports(JavaFile f,
                                    String packageName)

optimizeConstructorParameters

protected void optimizeConstructorParameters(JavaFile f,
                                             org.nuiton.eugene.java.extension.ImportsManager importsManager)


Copyright © 2008-2012 CodeLutin. All Rights Reserved.