io.github.xanthic.cache.api.domain.MisconfigurationPolicy Maven / Gradle / Ivy
package io.github.xanthic.cache.api.domain;
import io.github.xanthic.cache.api.exception.MisconfiguredCacheException;
/**
* The policy type that dictates how providers should react to cache specification issues.
*/
public enum MisconfigurationPolicy {
/**
* Halts cache building (e.g., via exception) upon a cache specification issue.
*
* @see MisconfiguredCacheException
*/
REJECT,
/**
* Attempts to ignore specification issues when building caches.
*
* This can result in certain features of the cache specification being skipped in order to proceed.
*/
IGNORE
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy