net.sf.taverna.raven.launcher
Interface Launchable

All Known Implementing Classes:
HelloWorld

public interface Launchable

A class that can be launched through a launch(String[]) method.

(Similar to a static main(String[])).

Author:
Stian Soiland-Reyes

Method Summary
 int launch(java.lang.String[] args)
          Execute program, similar to in a main(String[])
 

Method Detail

launch

int launch(java.lang.String[] args)
           throws java.lang.Exception
Execute program, similar to in a main(String[])

Parameters:
args - 0 or more string argument
Returns:
System exit code (caller will run System.exit(int)
Throws:
java.lang.Exception - If anything went wrong