Mercurial > dive4elements > gnv-client
annotate gnv-artifacts/src/main/java/de/intevation/gnv/state/DefaultAutoResumeState.java @ 1114:7e085bfb107b
Bugfix: Histogram width results in an IllegalArgumentException (issue320).
gnv-artifacts/trunk@1253 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 30 Jun 2010 13:05:42 +0000 |
parents | 9981452c7e75 |
children | f953c9a559d8 |
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 |
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
|
3 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
|
4 |
779
b1f5f2a8840f
Ordered imports. Removed needless imports. Removed empty headers.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
778
diff
changeset
|
5 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
|
6 |
736
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.ArrayList; |
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
8 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
|
9 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
|
10 |
734
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
11 |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
12 /** |
796
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
13 * Default implementation of <code>AutoResumeState</code>. |
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
14 * |
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
|
15 * @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
|
16 */ |
796
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
17 public class DefaultAutoResumeState extends StateBase implements AutoResumeState |
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
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 * 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
|
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 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
|
23 |
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 * Constructor |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
26 */ |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
27 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
|
28 super(); |
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
29 } |
778
9a828e5a2390
Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
736
diff
changeset
|
30 |
803
feae2f9d6c6f
Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
796
diff
changeset
|
31 |
736
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
32 @Override |
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
33 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
|
34 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
|
35 } |
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
36 |
796
a5526908f92f
Added javadoc in state package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
780
diff
changeset
|
37 |
736
b8c7105f2b94
Revoke Changes of r771 and override affected Methods in DefaultAutoResumeState
Tim Englich <tim.englich@intevation.de>
parents:
734
diff
changeset
|
38 @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
|
39 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
|
40 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
|
41 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
|
42 } |
734
8f7fe0cc6e5a
Added Interface and Defaultimplementation for States which can be handled without any userinteraction.
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
43 } |
836
05bf8534a35a
Using unix line endings only.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
815
diff
changeset
|
44 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |