lombok.core
Interface LombokApp
- All Known Implementing Classes:
- CreateLombokRuntimeApp, Main.LicenseApp, Main.VersionApp, PostCompilerApp
public interface LombokApp
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
runApp
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
String getAppName()
- Returns:
- Your app name. For example
delombok.
getAppDescription
String getAppDescription()
- Returns:
- Description of this app, for the command line.
getAppAliases
List<String> getAppAliases()
- Returns:
- When lombok.jar is executed with any of these strings as first argument, your app will be started.
Copyright © 2009-2011 The Project Lombok Authors, licensed under the MIT licence.