view gnv-artifacts/src/main/java/de/intevation/gnv/state/DefaultAutoResumeState.java @ 1062:58b4a07db856

Cach improvement: remove the cached elements of each visited state that is visited while stepping back to a previous state. gnv-artifacts/trunk@1147 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 02 Jun 2010 09:52:39 +0000
parents 9981452c7e75
children f953c9a559d8
line wrap: on
line source
package de.intevation.gnv.state;

import de.intevation.artifacts.CallContext;

import de.intevation.gnv.geobackend.base.Result;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;


/**
 * Default implementation of <code>AutoResumeState</code>.
 *
 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a>
 */
public class DefaultAutoResumeState extends StateBase implements AutoResumeState
{
    /**
     * The UID of this Class.
     */
    private static final long serialVersionUID = -4470531390092041577L;

    /**
     * Constructor
     */
    public DefaultAutoResumeState() {
        super();
    }


    @Override
    protected List<Object> purifyResult(Collection<Result> result, String uuid) {
        return new ArrayList<Object>(0);
    }


    @Override
    protected String[] getDescriptionForInputData(
        InputData data, CallContext context, String uuid) {
        return new String[0];
    }
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org