Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java @ 1050:eccf966fb677
State engine: Removed CallContext from state validation.
flys-artifacts/trunk@2512 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 19 Aug 2011 14:10:18 +0000 |
parents | 3fd891d5228d |
children | 9a77a9adbb36 |
comparison
equal
deleted
inserted
replaced
1049:433559e25b50 | 1050:eccf966fb677 |
---|---|
29 | 29 |
30 | 30 |
31 @Override | 31 @Override |
32 protected String getUIProvider() { | 32 protected String getUIProvider() { |
33 return "continue"; | 33 return "continue"; |
34 } | |
35 | |
36 | |
37 /** | |
38 * This method returns always true, because there is no data to validate. | |
39 * | |
40 * @param artifact The Artifact. | |
41 * @param context The CallContext. | |
42 * | |
43 * @return always true. | |
44 */ | |
45 @Override | |
46 public boolean validate(Artifact artifact, CallContext context) | |
47 throws IllegalArgumentException | |
48 { | |
49 return true; | |
50 } | 34 } |
51 | 35 |
52 | 36 |
53 @Override | 37 @Override |
54 public Object computeAdvance( | 38 public Object computeAdvance( |