Package org.openqa.selenium.os
Class CommandLine
java.lang.Object
org.openqa.selenium.os.CommandLine
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.void
copyOutputTo
(OutputStream out) Deprecated.int
destroy()
Deprecated.Destroy the current command.void
execute()
Deprecated.void
Deprecated.int
Deprecated.static String
Deprecated.Deprecated.boolean
Deprecated.Check whether the current command is still executing.boolean
Deprecated.void
setDynamicLibraryPath
(String newLibraryPath) Deprecated.void
setEnvironmentVariable
(String name, String value) Deprecated.Adds the specified environment variable.void
setEnvironmentVariables
(Map<String, String> environment) Deprecated.Adds the specified environment variables.void
Deprecated.void
setWorkingDirectory
(String workingDirectory) Deprecated.toString()
Deprecated.void
updateDynamicLibraryPath
(String extraPath) Deprecated.void
waitFor()
Deprecated.void
waitFor
(long timeout) Deprecated.boolean
waitForProcessStarted
(long duration, TimeUnit unit) Deprecated.
-
Constructor Details
-
CommandLine
Deprecated.
-
-
Method Details
-
setEnvironmentVariables
Deprecated.Adds the specified environment variables.- Parameters:
environment
- the variables to add- Throws:
IllegalArgumentException
- if any value given is null (unsupported)
-
setEnvironmentVariable
Deprecated.Adds the specified environment variable.- Parameters:
name
- the name of the environment variablevalue
- the value of the environment variable- Throws:
IllegalArgumentException
- if the value given is null (unsupported)
-
setDynamicLibraryPath
Deprecated. -
updateDynamicLibraryPath
Deprecated. -
getLibraryPathPropertyName
Deprecated.- Returns:
- The platform specific env property name which contains the library path.
-
executeAsync
public void executeAsync()Deprecated. -
execute
public void execute()Deprecated. -
waitForProcessStarted
Deprecated. -
waitFor
public void waitFor()Deprecated. -
waitFor
public void waitFor(long timeout) Deprecated. -
isSuccessful
public boolean isSuccessful()Deprecated. -
getExitCode
public int getExitCode()Deprecated. -
getStdOut
Deprecated. -
destroy
public int destroy()Deprecated.Destroy the current command.- Returns:
- The exit code of the command.
-
isRunning
public boolean isRunning()Deprecated.Check whether the current command is still executing.- Returns:
- true if the current command is still executing, false otherwise
-
setInput
Deprecated. -
setWorkingDirectory
Deprecated. -
toString
Deprecated. -
copyOutputTo
Deprecated. -
checkForError
public void checkForError()Deprecated.
-