Package net.storm.api.plugins.config
Interface ConfigManager
public interface ConfigManager
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription<T extends Config>
TgetConfigDescriptor(Config configurationProxy) getConfiguration(String groupName, String key) <T> TgetConfiguration(String groupName, String key, Type clazz) getConfiguration(String groupName, String profile, String key) <T> TgetConfiguration(String groupName, String profile, String key, Type type) getConfigurationKeys(String prefix) getConsumer(String configGroup, String keyName) <T> TgetRSProfileConfiguration(String groupName, String key) <T> TgetRSProfileConfiguration(String groupName, String key, Type clazz) getRSProfileConfigurationKeys(String group, String profile, String keyPrefix) voidimportAndMigrate(ProfileLock lock, File from, ConfigProfile targetProfile) voidload()objectToString(Object object) voidvoidsetConfiguration(String groupName, String key, String value) voidsetConfiguration(String groupName, String profile, String key, String value) <T> voidsetConfiguration(String groupName, String profile, String key, T value) <T> voidsetConfiguration(String groupName, String key, T value) <T extends Config>
voidsetDefaultConfiguration(T proxy, boolean override) <T> voidsetRSProfileConfiguration(String groupName, String key, T value) stringToObject(String str, Type type) voidswitchProfile(ConfigProfile newProfile) voidunsetConfiguration(String groupName, String key) voidunsetConfiguration(String groupName, String profile, String key) voidunsetRSProfileConfiguration(String groupName, String key)
-
Field Details
-
RSPROFILE_GROUP
- See Also:
-
RSPROFILE_DISPLAY_NAME
- See Also:
-
RSPROFILE_TYPE
- See Also:
-
-
Method Details
-
load
void load() -
getConfig
-
getConfigurationKeys
-
getRSProfileConfigurationKeys
-
getConfiguration
-
getConfiguration
-
getConfiguration
-
getRSProfileConfiguration
-
getRSProfileConfiguration
-
getConfiguration
-
setConfiguration
-
setConfiguration
-
setConfiguration
-
setConfiguration
-
setRSProfileConfiguration
-
unsetConfiguration
-
unsetConfiguration
-
unsetRSProfileConfiguration
-
getConfigDescriptor
-
setDefaultConfiguration
-
stringToObject
-
objectToString
-
getRSProfiles
List<RuneScapeProfile> getRSProfiles() -
getConsumer
-
getProfile
ConfigProfile getProfile() -
getRSProfileKey
String getRSProfileKey() -
switchProfile
-
sendConfig
void sendConfig() -
importAndMigrate
-