Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/Transition.java @ 127:f6f0e4ce4a35
merged gnv-artifacts/0.1
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:13:41 +0200 |
parents | ef157bd2fa92 |
children | 7fb9441dd8af |
comparison
equal
deleted
inserted
replaced
49:94a07d1d9316 | 127:f6f0e4ce4a35 |
---|---|
1 /** | |
2 * | |
3 */ | |
4 package de.intevation.gnv.transition; | |
5 | |
6 import java.io.Serializable; | |
7 import java.util.Collection; | |
8 | |
9 import org.w3c.dom.Document; | |
10 import org.w3c.dom.Node; | |
11 | |
12 import de.intevation.artifacts.CallMeta; | |
13 import de.intevation.gnv.transition.exception.TransitionException; | |
14 | |
15 /** | |
16 * @author Tim Englich <tim.englich@intevation.de> | |
17 * | |
18 */ | |
19 public interface Transition extends Serializable{ | |
20 | |
21 public void setup(Node configuration); | |
22 | |
23 public Collection<String> reachableTransitions(); | |
24 | |
25 public boolean isTransitionReachable(String transitionID); | |
26 | |
27 public String getID(); | |
28 | |
29 public String getDescription(); | |
30 | |
31 public boolean validate(); | |
32 | |
33 public void describe(Document document, Node rootNode, CallMeta callMeta); | |
34 | |
35 public void setParent(Transition transition); | |
36 | |
37 public Transition getParent(); | |
38 | |
39 public Collection<InputValue> getRequiredInputValues(); | |
40 | |
41 public void putInputData(Collection<InputData> inputData, String uuid) throws TransitionException; | |
42 | |
43 public Collection<InputData> getInputData() throws TransitionException; | |
44 | |
45 public void advance(String uuid, CallMeta callMeta) throws TransitionException; | |
46 | |
47 | |
48 public Collection<Object> getDescibeData(); | |
49 | |
50 public void setDescibeData(Collection<Object> descibeData); | |
51 | |
52 | |
53 } |