comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/StaticState.java @ 5867:59ff03ff48f1

River artifacts: Renamed FLYSArtifact(Collection) to D4EArtifact(Collection).
author Sascha L. Teichmann <teichmann@intevation.de>
date Sun, 28 Apr 2013 15:23:01 +0200
parents 4897a58c8746
children af13ceeba52a
comparison
equal deleted inserted replaced
5866:9a6741ccf6d4 5867:59ff03ff48f1
16 16
17 import org.dive4elements.artifactdatabase.state.Facet; 17 import org.dive4elements.artifactdatabase.state.Facet;
18 import org.dive4elements.artifactdatabase.state.DefaultOutput; 18 import org.dive4elements.artifactdatabase.state.DefaultOutput;
19 import org.dive4elements.artifactdatabase.state.Output; 19 import org.dive4elements.artifactdatabase.state.Output;
20 20
21 import org.dive4elements.river.artifacts.FLYSArtifact; 21 import org.dive4elements.river.artifacts.D4EArtifact;
22 22
23 import org.dive4elements.artifacts.CallContext; 23 import org.dive4elements.artifacts.CallContext;
24 import org.dive4elements.artifacts.CallMeta; 24 import org.dive4elements.artifacts.CallMeta;
25 25
26 /** 26 /**
74 74
75 /** 75 /**
76 * Do nothing (override to include your logic). 76 * Do nothing (override to include your logic).
77 * @param facets List of facets (to add to). 77 * @param facets List of facets (to add to).
78 */ 78 */
79 public Object staticCompute(List<Facet> facets, FLYSArtifact artifact) { 79 public Object staticCompute(List<Facet> facets, D4EArtifact artifact) {
80 return staticCompute(facets); 80 return staticCompute(facets);
81 } 81 }
82 82
83 public Object staticCompute(List<Facet> facets) { 83 public Object staticCompute(List<Facet> facets) {
84 return null; 84 return null;
86 86
87 87
88 /** Call staticCompute to allow easy adjustments. */ 88 /** Call staticCompute to allow easy adjustments. */
89 @Override 89 @Override
90 public Object computeAdvance( 90 public Object computeAdvance(
91 FLYSArtifact artifact, 91 D4EArtifact artifact,
92 String hash, 92 String hash,
93 CallContext context, 93 CallContext context,
94 List<Facet> facets, 94 List<Facet> facets,
95 Object old 95 Object old
96 ) { 96 ) {
99 99
100 100
101 /** Call staticCompute to allow easy adjustments. */ 101 /** Call staticCompute to allow easy adjustments. */
102 @Override 102 @Override
103 public Object computeFeed( 103 public Object computeFeed(
104 FLYSArtifact artifact, 104 D4EArtifact artifact,
105 String hash, 105 String hash,
106 CallContext context, 106 CallContext context,
107 List<Facet> facets, 107 List<Facet> facets,
108 Object old 108 Object old
109 ) { 109 ) {
112 112
113 113
114 /** Call staticCompute to allow easy adjustments. */ 114 /** Call staticCompute to allow easy adjustments. */
115 @Override 115 @Override
116 public Object computeInit( 116 public Object computeInit(
117 FLYSArtifact artifact, 117 D4EArtifact artifact,
118 String hash, 118 String hash,
119 Object context, 119 Object context,
120 CallMeta meta, 120 CallMeta meta,
121 List<Facet> facets 121 List<Facet> facets
122 ) { 122 ) {

http://dive4elements.wald.intevation.org