View Javadoc

1   package com.explosion.expfmodules.wizard.standard;
2   
3   import java.util.List;
4   
5   import com.explosion.expfmodules.wizard.Condition;
6   import com.explosion.expfmodules.wizard.Step;
7   import com.explosion.expfmodules.wizard.StepDefinition;
8   
9   
10  /* =============================================================================
11   *       
12   *     Copyright 2004 Stephen Cowx
13   *
14   *     Licensed under the Apache License, Version 2.0 (the "License");
15   *     you may not use this file except in compliance with the License.
16   *     You may obtain a copy of the License at
17   *
18   *     http://www.apache.org/licenses/LICENSE-2.0
19   *
20   *     Unless required by applicable law or agreed to in writing, software
21   *     distributed under the License is distributed on an "AS IS" BASIS,
22   *     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23   *     See the License for the specific language governing permissions and
24   *     limitations under the License.
25   * 
26   * =============================================================================
27   */
28  
29  /***
30   * @author Stephen Cowx
31   * IMplementstion of a step.
32   * Created on 28-Dec-2004
33   */
34  public class StandardStep implements Step
35  {
36       private List outboundSteps;
37       private StepDefinition stepDefinition;
38       private static org.apache.log4j.Logger log = org.apache.log4j.LogManager.getLogger(StandardStep.class);
39       private Condition condition;
40       
41      /***
42       * @return Returns the outboundSteps.
43       */
44      public List getOutboundSteps()
45      {
46          return outboundSteps;
47      }
48      
49      /***
50       * @param outboundSteps The outboundSteps to set.
51       */
52      public void setOutboundSteps(List outboundSteps)
53      {
54          this.outboundSteps = outboundSteps;
55      }
56  
57      /***
58       * @param stepDefinition The stepDefinition to set.
59       */
60      public void setStepDefinition(StepDefinition stepDefinition)
61      {
62          this.stepDefinition = stepDefinition;
63      }
64      
65      /***
66       * @see com.explosion.expfmodules.wizard.Step#getStepDefinition()
67       * @return
68       */
69      public StepDefinition getStepDefinition()
70      {
71          log.debug("Called getStepDefinition");
72          return stepDefinition;
73      }
74      
75      /***
76       * @see com.explosion.expfmodules.wizard.Step#getCondition()
77       * @return
78       */
79      public Condition getCondition()
80      {
81          log.debug("Called getCondition");
82          return this.condition;
83      }
84      
85      /***
86       * @see com.explosion.expfmodules.wizard.Step#setCondition(com.explosion.expfmodules.wizard.Condition)
87       * @param condition
88       */
89      public void setCondition(Condition condition)
90      {
91          log.debug("Called setCondition");
92          this.condition = condition;
93      }
94  }