Class SendFile

    • Field Detail

      • m_RemoteDir

        protected PlaceholderDirectory m_RemoteDir
        the remote directory where to place the file.
      • m_Content

        protected byte[] m_Content
        the actual payload.
    • Constructor Detail

      • SendFile

        public SendFile()
    • Method Detail

      • setFile

        public void setFile​(PlaceholderFile value)
        Sets the file to send.
        Parameters:
        value - the file
      • getFile

        public PlaceholderFile getFile()
        Returns the file to send.
        Returns:
        the file
      • fileTipText

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

        public void setRemoteDir​(PlaceholderDirectory value)
        Sets the remote directory to place the file in.
        Parameters:
        value - the dir
      • getRemoteDir

        public PlaceholderDirectory getRemoteDir()
        Returns the remote directory to place the file in.
        Returns:
        the dir
      • remoteDirTipText

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

        public void setRequestPayload​(byte[] value)
        Sets the payload for the request.
        Parameters:
        value - the payload
      • getRequestPayload

        public byte[] getRequestPayload()
        Returns the payload of the request, if any.
        Returns:
        the payload
      • getRequestPayloadObjects

        public Object[] getRequestPayloadObjects()
        Returns the objects that represent the request payload.
        Returns:
        the objects
      • toString

        public String toString()
        Returns a short description of the command.
        Overrides:
        toString in class AbstractCommand
        Returns:
        the description