01: package org.drools.eclipse.builder;
02:
03: public class DroolsBuildMarker {
04:
05: private String text;
06: private int line = -1;
07: private int offset = -1;
08: private int length = -1;
09:
10: public DroolsBuildMarker(String text) {
11: this .text = text;
12: }
13:
14: public DroolsBuildMarker(String text, int line) {
15: this .text = text;
16: this .line = line;
17: }
18:
19: public DroolsBuildMarker(String text, int offset, int length) {
20: this .text = text;
21: this .offset = offset;
22: this .length = length;
23: }
24:
25: public int getLength() {
26: return length;
27: }
28:
29: public int getLine() {
30: return line;
31: }
32:
33: public int getOffset() {
34: return offset;
35: }
36:
37: public String getText() {
38: return text;
39: }
40: }
|