Skip to content

Commit

Permalink
Add missing file
Browse files Browse the repository at this point in the history
  • Loading branch information
lukfor committed Nov 11, 2023
1 parent 336c6d7 commit 6c7fed0
Showing 1 changed file with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
package cloudgene.mapred.server.exceptions;

import com.fasterxml.jackson.annotation.JsonClassDescription;

@JsonClassDescription
public class MessageWrapper {

private String message;

private boolean success = false;

public MessageWrapper(String message, boolean success) {
this.message = message;
this.success = success;
}

public String getMessage() {
return message;
}

public void setMessage(String message) {
this.message = message;
}

public void setSuccess(boolean success) {
this.success = success;
}

public boolean isSuccess() {
return success;
}
}

0 comments on commit 6c7fed0

Please sign in to comment.