Package net.runelite.client.events
Class ConfigChanged
- java.lang.Object
-
- net.runelite.client.events.ConfigChanged
-
public class ConfigChanged extends Object
An event where a configuration entry has been modified.
-
-
Constructor Summary
Constructors Constructor Description ConfigChanged()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetGroup()The parent group for the key.StringgetKey()The configuration key that has been modified.StringgetNewValue()The new value of the entry, null if the entry has been unset.StringgetOldValue()The previous value of the entry.StringgetProfile()The profile that has changed, if anyinthashCode()voidsetGroup(String group)The parent group for the key.voidsetKey(String key)The configuration key that has been modified.voidsetNewValue(String newValue)The new value of the entry, null if the entry has been unset.voidsetOldValue(String oldValue)The previous value of the entry.voidsetProfile(String profile)The profile that has changed, if anyStringtoString()
-
-
-
Method Detail
-
getGroup
public String getGroup()
The parent group for the key.Typically set to the name of a plugin to prevent potential collisions between other key values that may have the same name.
-
getProfile
@Nullable public String getProfile()
The profile that has changed, if any- See Also:
RuneScapeProfile.getKey()
-
getKey
public String getKey()
The configuration key that has been modified.
-
getOldValue
public String getOldValue()
The previous value of the entry.
-
getNewValue
@Nullable public String getNewValue()
The new value of the entry, null if the entry has been unset.
-
setGroup
public void setGroup(String group)
The parent group for the key.Typically set to the name of a plugin to prevent potential collisions between other key values that may have the same name.
-
setProfile
public void setProfile(@Nullable String profile)The profile that has changed, if any- See Also:
RuneScapeProfile.getKey()
-
setKey
public void setKey(String key)
The configuration key that has been modified.
-
setOldValue
public void setOldValue(String oldValue)
The previous value of the entry.
-
setNewValue
public void setNewValue(@Nullable String newValue)The new value of the entry, null if the entry has been unset.
-
canEqual
protected boolean canEqual(Object other)
-
-