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

com.octo.android.robospice.persistence.Persister Maven / Gradle / Ivy

The newest version!
package com.octo.android.robospice.persistence;

/**
 * This interface defines the common behavior of all elements inside the
 * CacheManager bus.
 * @author sni
 */
public interface Persister {

    /**
     * Whether or not this bus element can persist/unpersist objects of the
     * given class clazz.
     * @param clazz
     *            the class of objets we are looking forward to persist.
     * @return true if this bus element can persist/unpersist objects of the
     *         given class clazz. False otherwise.
     */
    boolean canHandleClass(Class clazz);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy