Package org.eclipse.lsp4j.debug
Class RunInTerminalRequestArguments
- java.lang.Object
-
- org.eclipse.lsp4j.debug.RunInTerminalRequestArguments
-
public class RunInTerminalRequestArguments extends java.lang.Object
Arguments for 'runInTerminal' request.
-
-
Constructor Summary
Constructors Constructor Description RunInTerminalRequestArguments()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String[]
getArgs()
List of arguments.java.lang.Boolean
getArgsCanBeInterpretedByShell()
This property should only be set if the corresponding capabilityInitializeRequestArguments.getSupportsArgsCanBeInterpretedByShell()
is true.java.lang.String
getCwd()
Working directory for the command.java.util.Map<java.lang.String,java.lang.String>
getEnv()
Environment key-value pairs that are added to or removed from the default environment.RunInTerminalRequestArgumentsKind
getKind()
What kind of terminal to launch.java.lang.String
getTitle()
Title of the terminal.int
hashCode()
void
setArgs(java.lang.String[] args)
List of arguments.void
setArgsCanBeInterpretedByShell(java.lang.Boolean argsCanBeInterpretedByShell)
This property should only be set if the corresponding capabilityInitializeRequestArguments.getSupportsArgsCanBeInterpretedByShell()
is true.void
setCwd(java.lang.String cwd)
Working directory for the command.void
setEnv(java.util.Map<java.lang.String,java.lang.String> env)
Environment key-value pairs that are added to or removed from the default environment.void
setKind(RunInTerminalRequestArgumentsKind kind)
What kind of terminal to launch.void
setTitle(java.lang.String title)
Title of the terminal.java.lang.String
toString()
-
-
-
Method Detail
-
getKind
public RunInTerminalRequestArgumentsKind getKind()
What kind of terminal to launch. Defaults to `integrated` if not specified.This is an optional property.
-
setKind
public void setKind(RunInTerminalRequestArgumentsKind kind)
What kind of terminal to launch. Defaults to `integrated` if not specified.This is an optional property.
-
getTitle
public java.lang.String getTitle()
Title of the terminal.This is an optional property.
-
setTitle
public void setTitle(java.lang.String title)
Title of the terminal.This is an optional property.
-
getCwd
public java.lang.String getCwd()
Working directory for the command. For non-empty, valid paths this typically results in execution of a change directory command.
-
setCwd
public void setCwd(java.lang.String cwd)
Working directory for the command. For non-empty, valid paths this typically results in execution of a change directory command.
-
getArgs
public java.lang.String[] getArgs()
List of arguments. The first argument is the command to run.
-
setArgs
public void setArgs(java.lang.String[] args)
List of arguments. The first argument is the command to run.
-
getEnv
public java.util.Map<java.lang.String,java.lang.String> getEnv()
Environment key-value pairs that are added to or removed from the default environment.A string is a proper value for an environment variable. The value `null` removes the variable from the environment.
This is an optional property.
-
setEnv
public void setEnv(java.util.Map<java.lang.String,java.lang.String> env)
Environment key-value pairs that are added to or removed from the default environment.A string is a proper value for an environment variable. The value `null` removes the variable from the environment.
This is an optional property.
-
getArgsCanBeInterpretedByShell
public java.lang.Boolean getArgsCanBeInterpretedByShell()
This property should only be set if the corresponding capabilityInitializeRequestArguments.getSupportsArgsCanBeInterpretedByShell()
is true. If the client uses an intermediary shell to launch the application, then the client must not attempt to escape characters with special meanings for the shell. The user is fully responsible for escaping as needed and that arguments using special characters may not be portable across shells.This is an optional property.
Since 1.57
-
setArgsCanBeInterpretedByShell
public void setArgsCanBeInterpretedByShell(java.lang.Boolean argsCanBeInterpretedByShell)
This property should only be set if the corresponding capabilityInitializeRequestArguments.getSupportsArgsCanBeInterpretedByShell()
is true. If the client uses an intermediary shell to launch the application, then the client must not attempt to escape characters with special meanings for the shell. The user is fully responsible for escaping as needed and that arguments using special characters may not be portable across shells.This is an optional property.
Since 1.57
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-