| Class | Line # | Actions | |||||
|---|---|---|---|---|---|---|---|
| SettingAware | 8 | 0 | - | 0 | 0 |
| 1 | package guru.mikelue.foxglove.setting; | |
| 2 | ||
| 3 | /** | |
| 4 | * Interface for classes which support customized {@link DataSetting}. | |
| 5 | * | |
| 6 | * @param <T> The type of class which implements this interface | |
| 7 | */ | |
| 8 | public interface SettingAware<T extends SettingAware<T>> { | |
| 9 | /** | |
| 10 | * Applies the given data setting and the supporting class itself. | |
| 11 | * | |
| 12 | * @param setting The data setting to be applied | |
| 13 | * | |
| 14 | * @return The supporting class itself | |
| 15 | */ | |
| 16 | T withSetting(DataSettingInfo setting); | |
| 17 | } |