Skip to content
Snippets Groups Projects

Resolve "Add rmdir command"

Merged Lukas Johannes Horn requested to merge 49-add-rmdir-command into master
3 files
+ 113
0
Compare changes
  • Side-by-side
  • Inline
Files
3
package de.uniwue.swp.dragdropssh.ssh.results;
/**
* @author Lukas Johannes Horn
**/
public class RemoveDirectoryResult extends Result{
private String name;
/**
* Constructs a new RemoveDirectoryResult for a successful deletion
*
*/
public RemoveDirectoryResult(String name) {
super(Status.WORKED);
this.name = name;
}
/**
* Constructs a new result for a failed deletion which contains the exception message and class
*
* @param status of the deletion
* @param exceptionMessage message of the most significant exception
* @param exceptionName class name of the most significant exception
*/
public RemoveDirectoryResult(Status status, String name, String exceptionMessage, String exceptionName) {
super(status, exceptionMessage, exceptionName);
this.name = name;
}
}
Loading