mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2025-02-06 16:15:28 +01:00
18 lines
481 B
Java
18 lines
481 B
Java
|
package me.clip.placeholderapi.expansion;
|
||
|
|
||
|
/**
|
||
|
* This interface allows a class which extends a {@link PlaceholderExpansion}
|
||
|
* to have the clear method called when the implementing expansion is unregistered
|
||
|
* from PlaceholderAPI.
|
||
|
* This is useful if we want to do things when the implementing hook is unregistered
|
||
|
* @author Ryan McCarthy
|
||
|
*
|
||
|
*/
|
||
|
public interface Cacheable {
|
||
|
|
||
|
/**
|
||
|
* Called when the implementing class is unregistered from PlaceholderAPI
|
||
|
*/
|
||
|
void clear();
|
||
|
}
|