Mercurial > dive4elements > gnv-client
annotate gnv-artifacts/src/main/java/de/intevation/gnv/state/DefaultAutoResumeState.java @ 797:9d2891068ba5
Fixed test mockups to let them implement their interface correctly.
gnv-artifacts/trunk@879 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 06 Apr 2010 07:01:03 +0000 |
parents | a5526908f92f |
children | feae2f9d6c6f |
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 |
796
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
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 /** |
796
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
31 * |
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
32 * @param result |
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
33 * @param uuid |
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
34 * @return |
736
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
35 */ |
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 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
|
38 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
|
39 } |
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
40 |
796
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
41 |
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
42 /** |
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
43 * |
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
44 * @param data |
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
45 * @param uuid |
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
46 * @return |
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
47 */ |
736
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
48 @Override |
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
49 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
|
50 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
|
51 } |
734
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
52 } |
796
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
53 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |