Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/State.java @ 540:80630520e25a
merged gnv-artifacts/0.4
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:13:49 +0200 |
parents | cef17cc90fd0 |
children | 9681ac6b6527 |
comparison
equal
deleted
inserted
replaced
415:9f4a0b990d27 | 540:80630520e25a |
---|---|
1 /** | |
2 * | |
3 */ | |
4 package de.intevation.gnv.state; | |
5 | |
6 import de.intevation.artifacts.CallContext; | |
7 | |
8 import de.intevation.gnv.state.exception.StateException; | |
9 | |
10 import java.io.Serializable; | |
11 | |
12 import java.util.Collection; | |
13 import java.util.Map; | |
14 | |
15 import org.w3c.dom.Document; | |
16 import org.w3c.dom.Node; | |
17 | |
18 /** | |
19 * @author Tim Englich (tim.englich@intevation.de) | |
20 * @author Ingo Weinzierl (ingo.weinzierl@intevation.de) | |
21 * @author Sascha L. Teichmann (sascha.teichmann@intevation.de) | |
22 */ | |
23 public interface State extends Serializable { | |
24 | |
25 public void setup(Node configuration); | |
26 | |
27 public String getID(); | |
28 | |
29 public String getDescription(); | |
30 | |
31 public void describe( | |
32 Document document, | |
33 Node rootNode, | |
34 CallContext context, | |
35 String uuid | |
36 ); | |
37 | |
38 public void setParent(State state); | |
39 | |
40 public State getParent(); | |
41 | |
42 public Collection<InputValue> getRequiredInputValues(); | |
43 | |
44 public Map<String, InputData> inputData(); | |
45 | |
46 public void putInputData(Collection<InputData> inputData, String uuid) | |
47 throws StateException; | |
48 | |
49 public Collection<InputData> getInputData() throws StateException; | |
50 | |
51 public void advance(String uuid, CallContext context) | |
52 throws StateException; | |
53 | |
54 public void initialize(String uuid, CallContext context) | |
55 throws StateException; | |
56 | |
57 public void reset(String uuid); | |
58 | |
59 public void endOfLife(Object globalContext); | |
60 } |