Loading...
Searching...
No Matches
LogInfo.java
Go to the documentation of this file.
1package com.navigine.idl.java;
2
16public final class LogInfo {
17
18
19 /*package*/ final String name;
20
21 /*package*/ final String absolutePath;
22
23 /*package*/ final int size;
24
25 /*package*/ final int duration;
26
27 /*package*/ final String date;
28
29 /*package*/ final int numberOfCheckpoints;
30
34 public LogInfo(
35 String name,
36 String absolutePath,
37 int size,
38 int duration,
39 String date,
40 int numberOfCheckpoints) {
41 this.name = name;
42 this.absolutePath = absolutePath;
43 this.size = size;
44 this.duration = duration;
45 this.date = date;
46 this.numberOfCheckpoints = numberOfCheckpoints;
47 }
48
52 public String getName() {
53 return name;
54 }
55
59 public String getAbsolutePath() {
60 return absolutePath;
61 }
62
66 public int getSize() {
67 return size;
68 }
69
73 public int getDuration() {
74 return duration;
75 }
76
80 public String getDate() {
81 return date;
82 }
83
88 return numberOfCheckpoints;
89 }
90
91 @Override
92 public String toString() {
93 return "LogInfo{" +
94 "name=" + name +
95 "," + "absolutePath=" + absolutePath +
96 "," + "size=" + size +
97 "," + "duration=" + duration +
98 "," + "date=" + date +
99 "," + "numberOfCheckpoints=" + numberOfCheckpoints +
100 "}";
101 }
102
103}