Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. package FrostCheat.Main.Checks;
  2.  
  3. public class CheckResult {
  4. private Level level;
  5. private String message;
  6. private CheckType type;
  7. public String getType;
  8.  
  9. public CheckResult(Level level, String message, CheckType speed) {
  10. super();
  11. this.level = level;
  12. this.message = message;
  13. this.type = type;
  14.  
  15. }
  16.  
  17. // TODO Auto-generated constructor stub
  18.  
  19.  
  20. public CheckResult(Level passed, Object message, CheckType speed) {
  21. // TODO Auto-generated constructor stub
  22. }
  23.  
  24.  
  25.  
  26.  
  27. public Level getLevel() {
  28. return level;
  29.  
  30. }
  31.  
  32.  
  33. public String getMessage() {
  34. return message;
  35.  
  36. }
  37.  
  38. public CheckType getType() {
  39. return type;
  40.  
  41. }
  42. public boolean failed() {
  43. return level != Level.PASSED;
  44.  
  45. }
  46.  
  47.  
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement