|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.enough.polish.Extension
de.enough.polish.preverify.Preverifier
public abstract class Preverifier
Preverifies the project for a specific device.
Copyright Enough Software 2005 - 2011
| Field Summary | |
|---|---|
static String |
BUILDCONTROL_PREVERIFIER_ENABLED
|
static String |
KEY_ENVIRONMENT
Key for accessing the used preverifier in the Environment. |
static String |
KEY_EXECUTABLE
Key for accessing the executable in the Environment. |
static String |
KEY_TARGET
Key for accessing the preverify target directory in the Environment. |
protected File |
preverifyExecutable
The executable of the WTK that preverifies the project. |
| Fields inherited from class de.enough.polish.Extension |
|---|
antProject, autoStartCondition, environment, extensionDefinition, extensionManager, extensionSetting, extensionTypeDefinition, isBuildStarted |
| Constructor Summary | |
|---|---|
Preverifier()
Creates a new preverifier |
|
| Method Summary | |
|---|---|
void |
execute(Device device,
Locale locale,
Environment env)
Executes this extension. |
abstract void |
preverify(Device device,
File sourceDir,
File targetDir,
org.apache.tools.ant.types.Path bootClassPath,
org.apache.tools.ant.types.Path classPath)
Preverifies the classes for the target device. |
| Methods inherited from class de.enough.polish.Extension |
|---|
configure, executeAntTarget, executeAntTarget, finalize, getAntProject, getAutoStartCondition, getEnvironment, getExtensionDefinition, getExtensionSetting, getInstance, getParameterValue, getType, init, initialize, isConditionFulfilled, notifyBuildEnd, notifyBuildStart |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String BUILDCONTROL_PREVERIFIER_ENABLED
public static final String KEY_ENVIRONMENT
Environment.get(String),
Constant Field Valuespublic static final String KEY_EXECUTABLE
Environment.get(String),
Constant Field Valuespublic static final String KEY_TARGET
Environment.get(String),
Constant Field Valuesprotected File preverifyExecutable
| Constructor Detail |
|---|
public Preverifier()
| Method Detail |
|---|
public void execute(Device device,
Locale locale,
Environment env)
throws BuildException
Extension
execute in class Extensiondevice - the current devicelocale - the current locale, can be nullenv - the environment/configuration
BuildException - when the execution failed
public abstract void preverify(Device device,
File sourceDir,
File targetDir,
org.apache.tools.ant.types.Path bootClassPath,
org.apache.tools.ant.types.Path classPath)
throws IOException
device - the target devicesourceDir - the directory containing the class filestargetDir - the directory to which the preverfied class files should be written tobootClassPath - the boot class path of the deviceclassPath - the class path of the device, null when the device does not support additional APIs
IOException - when the process could not be executed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||