Class CommandDumperHandler

    • Constructor Detail

      • CommandDumperHandler

        public CommandDumperHandler()
    • Method Detail

      • setSuccessfulDir

        public void setSuccessfulDir​(PlaceholderDirectory value)
        Sets the directory for successful commands.
        Parameters:
        value - the dir
      • getSuccessfulDir

        public PlaceholderDirectory getSuccessfulDir()
        Returns the directory for successful commands.
        Returns:
        the dir
      • successfulDirTipText

        public String successfulDirTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • setFailedDir

        public void setFailedDir​(PlaceholderDirectory value)
        Sets the directory for failed commands.
        Parameters:
        value - the dir
      • getFailedDir

        public PlaceholderDirectory getFailedDir()
        Returns the directory for failed commands.
        Returns:
        the dir
      • failedDirTipText

        public String failedDirTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • setRejectedDir

        public void setRejectedDir​(PlaceholderDirectory value)
        Sets the directory for rejected commands.
        Parameters:
        value - the dir
      • getRejectedDir

        public PlaceholderDirectory getRejectedDir()
        Returns the directory for rejected commands.
        Returns:
        the dir
      • rejectedDirTipText

        public String rejectedDirTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • commandProcessorTipText

        public String commandProcessorTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • requestFailed

        public void requestFailed​(RemoteCommand cmd,
                                  String msg)
        Handles failed requests.
        Specified by:
        requestFailed in interface RequestHandler
        Parameters:
        cmd - the command with the request
        msg - the optional error message, can be null
      • requestRejected

        public void requestRejected​(RemoteCommand cmd,
                                    String msg)
        Handles rejected requests.
        Specified by:
        requestRejected in interface RequestHandler
        Parameters:
        cmd - the command with the request
        msg - the optional error message, can be null