| 
 | Brooklyn | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectBrooklynCommand
brooklyn.cli.Main.LaunchCommand
@Command(name = "launch", description = "Starts a brooklyn application. " +
            "Note that a BROOKLYN_CLASSPATH environment variable needs to be set up beforehand " +
            "to point to the user application classpath.")
public static class Main.LaunchCommand
extends BrooklynCommand
    | Field Summary | |
|---|---|
| java.lang.String | app | 
| java.lang.String | locations | 
| boolean | noConsole | 
| boolean | noShutdownOnExit | 
| java.lang.String | port | 
| java.lang.String | script | 
| boolean | stopOnKeyPressNote that this is a temporrary workaround to allow for runnig the brooklyn-whirr example. | 
| Method Summary | |
|---|---|
| java.lang.Void | call() | 
| ToStringHelper | string() | 
| Field Detail | 
|---|
@Option(name = { "-a", "--app" }, required = true, title = "application class or file",
                description = "The Application to start. " +
                        "For example my.AppName or file://my/AppName.groovy or classpath://my/AppName.groovy")
public java.lang.String app
        
@Option(name = { "-l", "--location", "--locations" }, title = "location list",
                description = "Specifies the locations where the application will be launched. " +
                        "You can specify more than one location like this: \"loc1,loc2,loc3\"")
public java.lang.String locations
        
@Option(name = { "-nc", "--noConsole" },
                description = "Whether to start the web console")
public boolean noConsole
        
@Option(name = { "-ns", "--noShutdownOnExit" },
                description = "Whether to stop the application when the JVM exits")
public boolean noShutdownOnExit
        
@Option(name = { "-p", "--port" }, title = "port number",
                description = "Specifies the port to be used by the Brooklyn Management Console.")
public java.lang.String port
        
@Beta
@Option(name = { "-s", "--script" }, title = "script URI",
                description = "EXPERIMENTAL. URI for a Groovy script to parse and load." +
                        " This script will run before starting the app.")
public java.lang.String script
        
@Beta
@Option(name = { "-sk", "--stopOnKeyPress" },
                description = "After the application gets started, brooklyn will wait for a key press to stop it.")
public boolean stopOnKeyPress
        
| Method Detail | 
|---|
@Override public java.lang.Void call()
@Override public ToStringHelper string()
Brooklyn Multi-Cloud Application Management Platform 
 brooklyncentral.github.com. Apache License. © 2012.