01: //** Copyright Statement ***************************************************
02: //The Salmon Open Framework for Internet Applications (SOFIA)
03: // Copyright (C) 1999 - 2002, Salmon LLC
04: //
05: // This program is free software; you can redistribute it and/or
06: // modify it under the terms of the GNU General Public License version 2
07: // as published by the Free Software Foundation;
08: //
09: // This program is distributed in the hope that it will be useful,
10: // but WITHOUT ANY WARRANTY; without even the implied warranty of
11: // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12: // GNU General Public License for more details.
13: //
14: // You should have received a copy of the GNU General Public License
15: // along with this program; if not, write to the Free Software
16: // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17: //
18: // For more information please visit http://www.salmonllc.com
19: //** End Copyright Statement ***************************************************
20: package com.salmonllc.scheduler;
21:
22: /////////////////////////
23: //$Archive: /JADE/SourceCode/com/salmonllc/scheduler/ScheduleReachedEvent.java $
24: //$Author: Dan $
25: //$Revision: 8 $
26: //$Modtime: 10/30/02 2:58p $
27: /////////////////////////
28:
29: /**
30: * This class is passed to every schedule object when the schedule time is reached.
31: */
32: public class ScheduleReachedEvent {
33: String _applicationName = null;
34:
35: public ScheduleReachedEvent(String applicationName) {
36: super ();
37: _applicationName = applicationName;
38: }
39:
40: /**
41: * This method returns the name of the application that the scheduled object is in
42: * @return java.lang.String
43: */
44: public String getApplicationName() {
45: return _applicationName;
46: }
47: }
|