01: /******************************************************************************
02: * DelayedInvocation.java - created by aaronz@vt.edu on Mar 19, 2007
03: *
04: * Copyright (c) 2007 Virginia Polytechnic Institute and State University
05: * Licensed under the Educational Community License version 1.0
06: *
07: * A copy of the Educational Community License has been included in this
08: * distribution and is available at: http://www.opensource.org/licenses/ecl1.php
09: *
10: * Contributors:
11: * Aaron Zeckoski (aaronz@vt.edu) - primary
12: *
13: *****************************************************************************/package org.sakaiproject.api.app.scheduler;
14:
15: import java.util.Date;
16:
17: /**
18: * A pea which represents a delayed invocation (a job which will cause a spring bean method
19: * to be executed at a specific time and date)
20: *
21: * @author Aaron Zeckoski (aaronz@vt.edu)
22: */
23: public class DelayedInvocation {
24:
25: public String uuid;
26: public Date date;
27: public String componentId;
28: public String contextId;
29:
30: public DelayedInvocation() {
31: }
32:
33: /**
34: * @param uuid
35: * @param date
36: * @param componentId
37: * @param contextId
38: */
39: public DelayedInvocation(String uuid, Date date,
40: String componentId, String contextId) {
41: this .uuid = uuid;
42: this .date = date;
43: this .componentId = componentId;
44: this .contextId = contextId;
45: }
46:
47: public String toString() {
48: return ("uuid: " + uuid + " date: " + date + " componentId: "
49: + componentId + " contextId: " + contextId);
50: }
51:
52: }
|