equal
deleted
inserted
replaced
77 public String result; |
77 public String result; |
78 |
78 |
79 public Result(Kind kind, String result) { |
79 public Result(Kind kind, String result) { |
80 this.kind = kind; |
80 this.kind = kind; |
81 this.result = result; |
81 this.result = result; |
|
82 } |
|
83 |
|
84 public boolean isRaw() { |
|
85 return |
|
86 this.kind == Kind.STDOUT || |
|
87 this.kind == Kind.STDERR; |
|
88 } |
|
89 |
|
90 public boolean isSystem() { |
|
91 return |
|
92 this.kind == Kind.STDIN || |
|
93 this.kind == Kind.SIGNAL || |
|
94 this.kind == Kind.EXIT || |
|
95 this.kind == Kind.SYSTEM; |
82 } |
96 } |
83 |
97 |
84 public String toString() { |
98 public String toString() { |
85 return this.kind.toString() + " [[" + this.result + "]]"; |
99 return this.kind.toString() + " [[" + this.result + "]]"; |
86 } |
100 } |