Class RunInTerminalRequestArguments


  • public class RunInTerminalRequestArguments
    extends java.lang.Object
    Arguments for 'runInTerminal' request.
    • Constructor Detail

      • RunInTerminalRequestArguments

        public RunInTerminalRequestArguments()
    • 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 capability InitializeRequestArguments.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 capability InitializeRequestArguments.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 class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object