public final class ThreadedLauncher extends Object
RunnableLauncher
for SeLion Grid. This launcher will perform install operations and then call
SeLionGridLauncher
. This launcher does not support continuous restarting of the instance. run()
on this objectRunnableLauncher.InstanceType
Constructor and Description |
---|
ThreadedLauncher(String[] args)
Initialize a new SeLion Grid with the args supplied.
|
ThreadedLauncher(String[] args,
LauncherOptions launcherOptions)
Initialize a new SeLion Grid with the args supplied.
|
ThreadedLauncher(String[] args,
LauncherOptions launcherOptions,
List<String> downloadList)
Initialize a new SeLion Grid with the args supplied.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isInitialized() |
boolean |
isRunning() |
void |
run() |
void |
shutdown()
Shutdown the instance.
|
public ThreadedLauncher(String[] args)
-selionConfig
. Uses a default set of LauncherOptions
.args
- The program arguments to use. Can be a mix of SeLion and selenium arguments.public ThreadedLauncher(String[] args, LauncherOptions launcherOptions)
-selionConfig
. Uses a default set of LauncherOptions
.args
- The program arguments to use. Can be a mix of SeLion and selenium arguments.launcherOptions
- the LauncherOptions
to usepublic ThreadedLauncher(String[] args, LauncherOptions launcherOptions, List<String> downloadList)
-selionConfig
. Uses a default set of LauncherOptions
.args
- The program arguments to use. Can be a mix of SeLion and selenium arguments.launcherOptions
- the LauncherOptions
to usedownloadList
- The list of binaries to download. These names MUST match the names from the download.json filepublic void run()
public void shutdown()
SeLionGridLauncher.shutdown()
for the instance associated with this object.public final boolean isInitialized()
isInitialized
in interface RunnableLauncher
public boolean isRunning()
isRunning
in interface RunnableLauncher
RunnableLauncher.InstanceType
for this launcher is up and running.Copyright © 2016 PayPal Open Source. All rights reserved.