title: Clean code - how to design this class?
body: <p>I have been reading the "Clean code" book and particularly the part on Hybrid classes and the difference between data structures and objects.</p>
  
  <p>I have an SFTPUtil class with one method for deleting a file from an sftp server.</p>
  
  <p>Currently it looks like what is described as a Hybrid class like so:</p>
  
  <pre><code>String host;
  int port;
  String rootDirectory;
  String username;
  String password;
  
  public void deleteFile(String filename){
   // Code using the instance variables above
  }
  
  
  //GETTERS AND SETTERS FOR INSTANCE VARIABLES
  </code></pre>
  
  <p>But based on this book, it would seem better to just have:</p>
  
  <pre><code>public void deleteFile(String filename, String host, int port, String rootDirectory, String username, String password){
   // Code using the instance variables above
  }
  </code></pre>
  
  <p>And no instance variables.</p>
  
  <p>Is this a correct assumption? What are peoples thoughts on this and are there better ways again to design this?</p>