* * Licensed under the Apache License, Version 2.0 (the "License");\r
* * you may not use this file except in compliance with the License.\r
* * You may obtain a copy of the License at\r
- * * \r
+ * *\r
* * http://www.apache.org/licenses/LICENSE-2.0\r
- * * \r
+ * *\r
* * Unless required by applicable law or agreed to in writing, software\r
* * distributed under the License is distributed on an "AS IS" BASIS,\r
* * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
* @version $Id: ReportBase.java,v 1.1 2013/10/28 18:06:53 eby Exp $\r
*/\r
abstract public class ReportBase implements Runnable {\r
- protected long from, to;\r
- protected String outfile;\r
- protected Logger logger;\r
-\r
- public ReportBase() {\r
- this.from = 0;\r
- this.to = System.currentTimeMillis();\r
- this.logger = Logger.getLogger("org.onap.dmaap.datarouter.reports");\r
- }\r
-\r
- public void setFrom(long from) {\r
- this.from = from;\r
- }\r
-\r
- public void setTo(long to) {\r
- this.to = to;\r
- }\r
-\r
- public String getOutfile() {\r
- return outfile;\r
- }\r
-\r
- public void setOutputFile(String s) {\r
- this.outfile = s;\r
- }\r
-\r
- @Override\r
- abstract public void run();\r
+ protected long from, to;\r
+ protected String outfile;\r
+ protected Logger logger;\r
+\r
+ public ReportBase() {\r
+ this.from = 0;\r
+ this.to = System.currentTimeMillis();\r
+ this.logger = Logger.getLogger("org.onap.dmaap.datarouter.reports");\r
+ }\r
+\r
+ public void setFrom(long from) {\r
+ this.from = from;\r
+ }\r
+\r
+ public void setTo(long to) {\r
+ this.to = to;\r
+ }\r
+\r
+ public String getOutfile() {\r
+ return outfile;\r
+ }\r
+\r
+ public void setOutputFile(String s) {\r
+ this.outfile = s;\r
+ }\r
+\r
+ @Override\r
+ abstract public void run();\r
}\r