1 package com.instantbank.component.lettertemplate.util;
2
3 import java.util.*;
4 import java.io.Serializable;
5
6
12 public class FileLogInfo
13 implements Serializable {
14
15
18 private String jobFile;
19
20
23 private String ftpSucces;
24
25
28 private String failedAttempts;
29
30
33 private String lastFtpDate;
34
35
38 private String lastFtpIpAddress;
39
40
43 private String failureDescription;
44
45
46
56 public FileLogInfo(String jobFile, String ftpSucces, String failedAttempts,
57 String lastFtpDate, String lastFtpIpAddress, String failureDescription) {
58 this.jobFile = jobFile;
59 this.ftpSucces = ftpSucces;
60 this.failedAttempts = failedAttempts;
61 this.lastFtpDate = lastFtpDate;
62 this.lastFtpIpAddress = lastFtpIpAddress;
63 this.failureDescription = failureDescription;
64 }
65
66
67
72 public String getJobFile() {
73 return (this.jobFile);
74 }
75
76
77
82 public String getFtpSucces() {
83 return (this.ftpSucces);
84 }
85
86
87
92 public String getFailedAttempts() {
93 return (this.failedAttempts);
94 }
95
96
97
102 public String getLastFtpDate() {
103 return (this.lastFtpDate);
104 }
105
106
107
112 public String getLastFtpIpAddress() {
113 return (this.lastFtpIpAddress);
114 }
115
116
117
122 public String getFailureDescription() {
123 return (this.failureDescription);
124 }
125
126
127
132 public String toString() {
133
134 StringBuffer toString = new StringBuffer();
135 toString.append("\njobFile = ");
136 toString.append(jobFile);
137 toString.append("\nftpSucces = ");
138 toString.append(ftpSucces);
139 toString.append("\nfailedAttempts = ");
140 toString.append(failedAttempts);
141 toString.append("\nlastFtpDate = ");
142 toString.append(lastFtpDate);
143 toString.append("\nlastFtpIpAddress = ");
144 toString.append(lastFtpIpAddress);
145 toString.append("\nfailureDescription = ");
146 toString.append(failureDescription);
147 toString.append("\n");
148
149 return new String(toString);
150 }
151
152 }
153