public abstract class JAXXEngineTask extends Object
JAXXEngine.
The perform(JAXXEngine) method contains the logic of the task.| Constructor and Description |
|---|
JAXXEngineTask(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addEndProfileTime(JAXXEngine engine,
JAXXCompiler compiler) |
protected void |
addStartProfileTime(JAXXEngine engine,
JAXXCompiler compiler) |
protected void |
checkAllFilesCompiled(JAXXEngine engine)
Checks the engine does not have any more files to discover.
|
String |
getName() |
abstract boolean |
perform(JAXXEngine engine)
Performs the task on the given
engine. |
public JAXXEngineTask(String name)
public abstract boolean perform(JAXXEngine engine) throws Exception
engine.engine - the engine to usefalse if task failed (with no exception), true otherwise.Exception - if any errorpublic String getName()
protected void checkAllFilesCompiled(JAXXEngine engine) throws IllegalStateException
engine - the engine to testIllegalStateException - if there is still some files to discover.protected void addStartProfileTime(JAXXEngine engine, JAXXCompiler compiler)
protected void addEndProfileTime(JAXXEngine engine, JAXXCompiler compiler)
Copyright © 2008–2019 Ultreia.io. All rights reserved.