All Downloads are FREE. Search and download functionalities are using the official Maven repository.

uk.ac.ceh.dynamo.bread.DustBin Maven / Gradle / Ivy

Go to download

A Spring MVC plugin for creating dynamic MapServer maps with freemarker templates

There is a newer version: 1.3
Show newest version
package uk.ac.ceh.dynamo.bread;

/**
 * An interface which defines a dust bin for a bakery. A dust bin has the method
 * to remove a BreadSlice when it is no longer needed.
 * 
 * The dust bin is only typed on the workspace, not the actual output of the BreadSlice.
 * This is because the details which are required for removing a bread slice should
 * be defined by the id and hash of the bread slice. The actual generated content
 * should be irrelevant
 * @author cjohn
 */
public interface DustBin {
    /**
     * Given some bread slice, submit for deletion. The implementation of this 
     * method may do nothing delete the slice straight away, or submit for deletion
     * at a later time.
     * @param slice the slice to clear up
     */
    void delete(BreadSlice slice);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy