giacomo 2003/09/05 03:20:57
Modified: src/blocks/cron/java/org/apache/cocoon/components/cron
JobSchedulerEntry.java
Log:
added method
Revision Changes Path
1.2 +10 -1
cocoon-2.1/src/blocks/cron/java/org/apache/cocoon/components/cron/JobSchedulerEntry.java
Index: JobSchedulerEntry.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/cron/java/org/apache/cocoon/components/cron/JobSchedulerEntry.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -b -u -r1.1 -r1.2
--- JobSchedulerEntry.java 4 Sep 2003 15:56:51 -0000 1.1
+++ JobSchedulerEntry.java 5 Sep 2003 10:20:57 -0000 1.2
@@ -52,6 +52,7 @@
import java.util.Date;
+
/**
* Interface for classes holding scheduled job entries.
*
@@ -86,4 +87,12 @@
* @return whether this job is currently running?
*/
boolean isRunning();
+
+ /**
+ * Get a human readable representation of the schedule of this entry. Is
up to an implementation how it presents
+ * the schedule for this entry
+ *
+ * @return the human readable representation of the schedule of this
entry
+ */
+ String getSchedule();
}