Mercurial > dive4elements > gnv-client
annotate gnv-artifacts/src/main/java/de/intevation/gnv/state/DefaultAutoResumeState.java @ 1028:41234fcf4c7e
Some Bugfixes which prevent Exceptions executing the Examples in the config-manual
gnv-artifacts/trunk@1052 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 04 May 2010 12:40:21 +0000 |
parents | 05bf8534a35a |
children | 9981452c7e75 |
rev | line source |
---|---|
734
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
1 package de.intevation.gnv.state; |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
2 |
779
b1f5f2a8840f
Ordered imports. Removed needless imports. Removed empty headers.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
778
diff
changeset
|
3 import de.intevation.gnv.geobackend.base.Result; |
b1f5f2a8840f
Ordered imports. Removed needless imports. Removed empty headers.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
778
diff
changeset
|
4 |
736
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
5 import java.util.ArrayList; |
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
6 import java.util.Collection; |
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
7 import java.util.List; |
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
8 |
734
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
9 |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
10 /** |
796
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
11 * Default implementation of <code>AutoResumeState</code>. |
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
12 * |
780
c4156275c1e1
Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
779
diff
changeset
|
13 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> |
734
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
14 */ |
796
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
15 public class DefaultAutoResumeState extends StateBase implements AutoResumeState |
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
16 { |
734
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
17 /** |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
18 * The UID of this Class. |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
19 */ |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
20 private static final long serialVersionUID = -4470531390092041577L; |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
21 |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
22 /** |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
23 * Constructor |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
24 */ |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
25 public DefaultAutoResumeState() { |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
26 super(); |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
27 } |
778
9a828e5a2390
Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
736
diff
changeset
|
28 |
803
feae2f9d6c6f
Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
796
diff
changeset
|
29 |
736
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
30 @Override |
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
31 protected List<Object> purifyResult(Collection<Result> result, String uuid) { |
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
32 return new ArrayList<Object>(0); |
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
33 } |
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
34 |
796
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
35 |
736
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
36 @Override |
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
37 protected String[] getDescriptionForInputData(InputData data, String uuid) { |
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
38 return new String[0]; |
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
39 } |
734
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
40 } |
836
05bf8534a35a
Using unix line endings only.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
815
diff
changeset
|
41 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |