Lombok - v0.9.3

lombok.core
Interface LombokApp

All Known Implementing Classes:
CreateLombokRuntimeApp, Main.LicenseApp, Main.VersionApp

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

Method Summary
 java.util.List<java.lang.String> getAppAliases()
           
 java.lang.String getAppDescription()
           
 java.lang.String getAppName()
           
 int runApp(java.util.List<java.lang.String> args)
           
 

Method Detail

runApp

int runApp(java.util.List<java.lang.String> args)
           throws java.lang.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:
java.lang.Exception

getAppName

java.lang.String getAppName()
Returns:
Your app name. For example delombok.

getAppDescription

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

getAppAliases

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

Lombok - v0.9.3

Copyright © 2009 Reinier Zwitserloot and Roel Spilker, licensed under the MIT licence.