1 package com.explosion.expfmodules.wizard;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 /***
24 * Created on 01-Dec-2004
25 * Classes which implement this interface are probably going to pretty complex. The
26 * implementors of this class get called once at the end of every wizard.
27 *
28 * Each wizard that does anything will have this action performed by an implementor of this class.
29 *
30 * The wizard collects information during it's lifetime and then at the end, as soon as the finish()
31 * method on the Wizard is called, the StepAction execute method is envoked.
32 *
33 * @author Stephen Cowx
34 */
35 public interface StepAction
36 {
37
38 /***
39 * Implementors of this method will use the information collected during the execution of the wizard
40 * to perform an action. If actions wants the user to redo the existing step, they should return false
41 * @param wizard
42 */
43 public boolean execute(Wizard wizard);
44
45 }