Package org.eclipse.jdt.apt.core.build
Class AptBuilder
- java.lang.Object
-
- org.eclipse.jdt.apt.core.build.AptBuilder
-
- All Implemented Interfaces:
IApplication
public class AptBuilder extends Object implements IApplication
Commandline entry point for building a workspace using APT. Currently cleans and then builds the entire workspace.Sample commandline invocation: %ECLIPSE_HOME%/eclipsec -nosplash -application org.eclipse.jdt.apt.core.aptBuild -data %WORKSPACE% This class should not be referenced programmatically by other Java code. This class exists only for the purpose of launching the AptBuilder from the command line. The fields and methods on this class are not API.
-
-
Field Summary
-
Fields inherited from interface org.eclipse.equinox.app.IApplication
EXIT_OK, EXIT_RELAUNCH, EXIT_RESTART
-
-
Constructor Summary
Constructors Constructor Description AptBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
start(IApplicationContext context)
Runs this runnable with the given application context and returns a result.void
stop()
-
-
-
Method Detail
-
start
public Object start(IApplicationContext context) throws Exception
Runs this runnable with the given application context and returns a result. The content of the args is unchecked and should conform to the expectations of the runnable being invoked. Typically this is aString
array. Applications can return any object they like. If anInteger
is returned it is treated as the program exit code if Eclipse is exiting.- Specified by:
start
in interfaceIApplication
- Parameters:
context
- the given application context passed to the application- Returns:
- the return value of the application
- Throws:
Exception
- if there is a problem running this runnable.- See Also:
IApplication.EXIT_OK
,IApplication.EXIT_RESTART
,IApplication.EXIT_RELAUNCH
-
stop
public void stop()
- Specified by:
stop
in interfaceIApplication
-
-