ingo@927: package de.intevation.flys.artifacts.states; ingo@927: ingo@935: import java.util.List; ingo@935: ingo@927: import org.apache.log4j.Logger; ingo@927: ingo@935: import de.intevation.artifacts.CallContext; ingo@935: ingo@935: import de.intevation.artifactdatabase.state.Facet; ingo@935: ingo@935: import de.intevation.flys.artifacts.FLYSArtifact; ingo@927: import de.intevation.flys.artifacts.model.FacetTypes; ingo@935: import de.intevation.flys.artifacts.model.WSPLGENFacet; ingo@927: ingo@927: ingo@927: public class FloodMapState ingo@927: extends DefaultState ingo@927: implements FacetTypes ingo@927: { ingo@927: /** The logger that is used in this state.*/ ingo@927: private static Logger logger = Logger.getLogger(FloodMapState.class); ingo@927: ingo@935: ingo@1053: ingo@1053: @Override ingo@935: public Object computeAdvance( ingo@935: FLYSArtifact artifact, ingo@935: String hash, ingo@935: CallContext context, ingo@935: List facets, ingo@935: Object old ingo@935: ) { ingo@935: facets.add(new WSPLGENFacet(0, FLOODMAP_WSPLGEN, "WSPLGEN")); ingo@935: ingo@935: return null; ingo@935: } ingo@927: } ingo@927: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :