1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 package eteg.sinon.core;
24
25 /***
26 * Interface implemented by classes that represent page processing steps.
27 * The current set of steps includes {@link PositioningStep} (steps
28 * that change the current position in the page), {@link DataExtraction}
29 * (extraction of data), {@link LoopStep} (execution of steps in loop), and
30 * {@link Action} (processing of another page).
31 *
32 * @author <a href="mailto:thiagohp at users.sourceforge.net">Thiago H. de Paula Figueiredo</a>
33 * @author Last modified by $Author: thiagohp $
34 * @version $Revision: 1.2 $
35 */
36 public interface Step {
37
38 /***
39 * Tells if this step is a data extraction
40 * @return <code>true</code> if this step is a data extraction,
41 * <code>false</code> otherwise.
42 */
43 public boolean isDataExtraction();
44
45 /***
46 * Tells if this step is a positioning step
47 * @return <code>true</code> if this step is a positioning step,
48 * <code>false</code> otherwise.
49 */
50 public boolean isPositioningStep();
51
52 /***
53 * Tells if this step is an action
54 * @return <code>true</code> if this step is an action,
55 * <code>false</code> otherwise.
56 */
57 public boolean isAction();
58
59 /***
60 * Tells if this step is a loop.
61 * @return <code>true</code> if this step is a loop,
62 * <code>false</code> otherwise.
63 */
64 public boolean isLoop();
65
66 }