Class DeleteDestination

    • Field Detail

      • id

        private String id
        Identifier of the destination to delete.
    • Constructor Detail

      • DeleteDestination

        public DeleteDestination​(String id)
        Constructs a DeleteDestination instance.
        Parameters:
        id - The identifier of the destination to delete.
      • DeleteDestination

        public DeleteDestination()
    • Method Detail

      • getId

        public String getId()
        Returns the identifier of the destination to delete.
        Returns:
        the identifier of the destination to delete.
      • readFrom

        public void readFrom​(InputStream is)
                      throws IOException
        Description copied from interface: Streamable
        The object implements the readFrom method to restore its contents from the input stream.
        Parameters:
        is - the stream to read data from in order to restore the object
        Throws:
        IOException - an error occurs during IO operation.
      • writeTo

        public void writeTo​(OutputStream os)
                     throws IOException
        Description copied from interface: Streamable
        The object implements the writeTo method to write its contents to the output stream.
        Parameters:
        os - the stream to write the object to
        Throws:
        IOException - an error occurs during IO operation.