01: package com.xoetrope.task;
02:
03: /**
04: * An interface used by the scheduler XJob. The task/job invokes the execute
05: * method defined by this interface to do the actual work associated with the
06: * task.
07: *
08: * <p> Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
09: * the GNU Public License (GPL), please see license.txt for more details. If
10: * you make commercial use of this software you must purchase a commercial
11: * license from Xoetrope.</p>
12: * <p> $Revision: 1.4 $</p>
13: */
14: public interface XExecutable {
15: /**
16: * Do the work of the task
17: * @param xp the set of arguments for the job/task
18: */
19: public void execute(XArguments xp);
20: }
|