01: package org.incava.qualog;
02:
03: import java.util.*;
04:
05: public class QlTimedPeriod {
06: String _fileName;
07:
08: String _className;
09:
10: String _methodName;
11:
12: int _lineNumber;
13:
14: String _message;
15:
16: long _start;
17:
18: public QlTimedPeriod(String fileName, String className,
19: String methodName, int lineNumber, String message) {
20: _fileName = fileName;
21: _className = className;
22: _methodName = methodName;
23: _lineNumber = lineNumber;
24: _message = message;
25: _start = System.currentTimeMillis();
26: }
27:
28: public String getFileName() {
29: return _fileName;
30: }
31:
32: public String getClassName() {
33: return _className;
34: }
35:
36: public String getMethodName() {
37: return _methodName;
38: }
39:
40: public int getLineNumber() {
41: return _lineNumber;
42: }
43:
44: public String getMessage() {
45: return _message;
46: }
47:
48: public long getStartTime() {
49: return _start;
50: }
51:
52: }
|