public class ClientLauncherRunner
extends java.lang.Object
implements org.springframework.boot.CommandLineRunner
CommandLineRunner
handling a default action for YarnClient
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTION_SUBMIT |
Constructor and Description |
---|
ClientLauncherRunner()
Instantiates a new client launcher runner.
|
ClientLauncherRunner(java.lang.String action)
Instantiates a new client launcher runner.
|
public static final java.lang.String ACTION_SUBMIT
public ClientLauncherRunner()
public ClientLauncherRunner(java.lang.String action)
action
- the actionpublic void run(java.lang.String... args) throws java.lang.Exception
run
in interface org.springframework.boot.CommandLineRunner
java.lang.Exception
public void setAction(java.lang.String action)
action
- the new action