01: package com.xoetrope.task;
02:
03: /**
04: * <p>A storage interfacce for arguments of a callback function. Used by the
05: * scheduler</p>
06: *
07: * <p> Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
08: * the GNU Public License (GPL), please see license.txt for more details. If
09: * you make commercial use of this software you must purchase a commercial
10: * license from Xoetrope.</p>
11: * <p> $Revision: 1.4 $</p>
12: */
13: public interface XArguments {
14: /**
15: * Get an argument
16: * @param index the index of the argument
17: * @return the argument object
18: */
19: public Object getArgument(int index);
20:
21: /**
22: * Get the number of arguments
23: * @return the number of arguments
24: */
25: public int getNumArguments();
26: }
|