Package org.openqa.selenium.os
Class CommandLine
java.lang.Object
org.openqa.selenium.os.CommandLine
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.voidcopyOutputTo(OutputStream out) Deprecated.intdestroy()Deprecated.Destroy the current command.voidexecute()Deprecated.voidDeprecated.intDeprecated.static StringDeprecated.Deprecated.booleanDeprecated.Check whether the current command is still executing.booleanDeprecated.voidsetDynamicLibraryPath(String newLibraryPath) Deprecated.voidsetEnvironmentVariable(String name, String value) Deprecated.Adds the specified environment variable.voidsetEnvironmentVariables(Map<String, String> environment) Deprecated.Adds the specified environment variables.voidDeprecated.voidsetWorkingDirectory(String workingDirectory) Deprecated.toString()Deprecated.voidupdateDynamicLibraryPath(String extraPath) Deprecated.voidwaitFor()Deprecated.voidwaitFor(long timeout) Deprecated.booleanwaitForProcessStarted(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.
-