Lombok - v0.11.0

lombok.core
Class LombokApp

java.lang.Object
  extended by lombok.core.LombokApp
Direct Known Subclasses:
CreateLombokRuntimeApp, Main.LicenseApp, Main.VersionApp, PoolConstantsApp, PostCompilerApp, PublicApiCreatorApp

public abstract class LombokApp
extends Object

Implement this class, and add yourself as a provider for it, to become an app runnable by running lombok.jar as a jar.

See Also:
Main.VersionApp

Constructor Summary
LombokApp()
           
 
Method Summary
 List<String> getAppAliases()
           
abstract  String getAppDescription()
           
abstract  String getAppName()
           
 boolean isDebugTool()
           
abstract  int runApp(List<String> args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LombokApp

public LombokApp()
Method Detail

runApp

public abstract int runApp(List<String> args)
                    throws Exception
Parameters:
args - The arguments; analogous to what's passed to public static void main(String[] args) methods.
Returns:
The return value. Don't call System.exit yourself.
Throws:
Exception

getAppName

public abstract String getAppName()
Returns:
Your app name. For example delombok.

getAppDescription

public abstract String getAppDescription()
Returns:
Description of this app, for the command line.

getAppAliases

public List<String> getAppAliases()
Returns:
When lombok.jar is executed with any of these strings as first argument, your app will be started.

isDebugTool

public boolean isDebugTool()
Returns:
true if this app is an internal debugging tool and won't be listed by the default help message.

Lombok - v0.11.0

Copyright © 2009-2011 The Project Lombok Authors, licensed under the MIT licence.