Mercurial > dive4elements > gnv-client
annotate gnv-artifacts/src/main/java/de/intevation/gnv/state/DefaultAutoResumeState.java @ 1116:2d393d79c097
Added author names.
gnv-artifacts/trunk@1262 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 04 Nov 2010 21:46:58 +0000 |
parents | f953c9a559d8 |
children |
rev | line source |
---|---|
1115
f953c9a559d8
Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1038
diff
changeset
|
1 /* |
f953c9a559d8
Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1038
diff
changeset
|
2 * Copyright (c) 2010 by Intevation GmbH |
f953c9a559d8
Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1038
diff
changeset
|
3 * |
f953c9a559d8
Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1038
diff
changeset
|
4 * This program is free software under the LGPL (>=v2.1) |
f953c9a559d8
Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1038
diff
changeset
|
5 * Read the file LGPL.txt coming with the software for details |
f953c9a559d8
Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1038
diff
changeset
|
6 * or visit http://www.gnu.org/licenses/ if it does not exist. |
f953c9a559d8
Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1038
diff
changeset
|
7 */ |
f953c9a559d8
Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1038
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 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
|
10 |
1038
9981452c7e75
First step: Added a new state handling the selection between vector or scalar and a new transition in timeseries to provide vector values (issue27).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
836
diff
changeset
|
11 import de.intevation.artifacts.CallContext; |
9981452c7e75
First step: Added a new state handling the selection between vector or scalar and a new transition in timeseries to provide vector values (issue27).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
836
diff
changeset
|
12 |
779
b1f5f2a8840f
Ordered imports. Removed needless imports. Removed empty headers.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
778
diff
changeset
|
13 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
|
14 |
736
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
15 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
|
16 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
|
17 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
|
18 |
734
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 /** |
796
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
21 * Default implementation of <code>AutoResumeState</code>. |
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
22 * |
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
|
23 * @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
|
24 */ |
796
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
25 public class DefaultAutoResumeState extends StateBase implements AutoResumeState |
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
26 { |
734
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
27 /** |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
28 * 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
|
29 */ |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
30 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
|
31 |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
32 /** |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
33 * Constructor |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
34 */ |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
35 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
|
36 super(); |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
37 } |
778
9a828e5a2390
Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
736
diff
changeset
|
38 |
803
feae2f9d6c6f
Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
796
diff
changeset
|
39 |
736
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
40 @Override |
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
41 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
|
42 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
|
43 } |
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
44 |
796
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
45 |
736
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
46 @Override |
1038
9981452c7e75
First step: Added a new state handling the selection between vector or scalar and a new transition in timeseries to provide vector values (issue27).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
836
diff
changeset
|
47 protected String[] getDescriptionForInputData( |
9981452c7e75
First step: Added a new state handling the selection between vector or scalar and a new transition in timeseries to provide vector values (issue27).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
836
diff
changeset
|
48 InputData data, CallContext context, String uuid) { |
736
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
49 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
|
50 } |
734
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
51 } |
836
05bf8534a35a
Using unix line endings only.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
815
diff
changeset
|
52 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |