1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.apache.geronimo.mavenplugins.geronimo.reporting;
21
22 import java.io.File;
23 import java.util.Date;
24
25 /**
26 * Provides the details of the report to a {@link Reporter}.
27 *
28 * @version $Rev: 450613 $ $Date: 2006-09-27 15:45:46 -0700 (Wed, 27 Sep 2006) $
29 */
30 public interface Reportable
31 {
32 /**
33 * Returns the date at which the goal was started.
34 *
35 * @return The date when the goal was started.
36 */
37 Date getStartTime();
38
39 /**
40 * Returns the name of the goal.
41 *
42 * @return Goal name.
43 */
44 String getName();
45
46 /**
47 * Returns the log file which the goal may or may not output logs to.
48 *
49 * @return The log file; or null of the goal does not log to a file.
50 */
51 File getLogFile();
52 }