1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.common.util;
17
18 public class MonitorTextFileResult {
19
20 boolean exists;
21 boolean contains;
22 boolean timeoutExceeded;
23 long elapsed;
24 String absolutePath;
25 String content;
26
27 public MonitorTextFileResult() {
28 this(false, false, false, -1);
29 }
30
31 public MonitorTextFileResult(boolean exists, boolean contains, boolean timeoutExceeded, long elapsed) {
32 super();
33 this.exists = exists;
34 this.contains = contains;
35 this.timeoutExceeded = timeoutExceeded;
36 this.elapsed = elapsed;
37 }
38
39 public boolean isExists() {
40 return exists;
41 }
42
43 public void setExists(boolean exists) {
44 this.exists = exists;
45 }
46
47 public boolean isContains() {
48 return contains;
49 }
50
51 public void setContains(boolean contains) {
52 this.contains = contains;
53 }
54
55 public long getElapsed() {
56 return elapsed;
57 }
58
59 public void setElapsed(long elapsed) {
60 this.elapsed = elapsed;
61 }
62
63 public boolean isTimeoutExceeded() {
64 return timeoutExceeded;
65 }
66
67 public void setTimeoutExceeded(boolean timeoutExceeded) {
68 this.timeoutExceeded = timeoutExceeded;
69 }
70
71 public String getContent() {
72 return content;
73 }
74
75 public void setContent(String content) {
76 this.content = content;
77 }
78
79 public String getAbsolutePath() {
80 return absolutePath;
81 }
82
83 public void setAbsolutePath(String absolutePath) {
84 this.absolutePath = absolutePath;
85 }
86
87 }