public final class LocalSubmitter
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static Twister2JobState |
submitJob(Twister2Job twister2Job)
This method can be used to run a
Twister2Job with default configurations |
static Twister2JobState |
submitJob(Twister2Job twister2Job,
Config config)
This method can be used to run a
Twister2Job with default configurations. |
static Twister2JobState |
submitJob(Twister2Job twister2Job,
java.lang.String configDir)
This method can be used to submit a
Twister2Job. |
static Twister2JobState |
submitJob(Twister2Job twister2Job,
java.lang.String configDir,
Config config)
This method can be used to submit a
Twister2Job. |
public static Twister2JobState submitJob(Twister2Job twister2Job)
Twister2Job with default configurationspublic static Twister2JobState submitJob(Twister2Job twister2Job, java.lang.String configDir, Config config)
Twister2Job.
Additional configurations can be loaded by specifying the root of a twister2 configuration
directory. Configurations loaded from the files can be overridden in Config object.public static Twister2JobState submitJob(Twister2Job twister2Job, java.lang.String configDir)
Twister2Job.
Additional configurations can be loaded by specifying the root of a twister2 configuration
directory.public static Twister2JobState submitJob(Twister2Job twister2Job, Config config)
Twister2Job with default configurations.
Additional configurations can be defined/overridden by passing the Config object.