Package net.runelite.client.events
Class ConfigChanged
- java.lang.Object
-
- net.runelite.client.events.ConfigChanged
-
public class ConfigChanged extends java.lang.ObjectAn 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(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetGroup()The parent group for the key.java.lang.StringgetKey()The configuration key that has been modified.java.lang.StringgetNewValue()The new value of the entry, null if the entry has been unset.java.lang.StringgetOldValue()The previous value of the entry.java.lang.StringgetProfile()The profile that has changed, if anyinthashCode()voidsetGroup(java.lang.String group)The parent group for the key.voidsetKey(java.lang.String key)The configuration key that has been modified.voidsetNewValue(java.lang.String newValue)The new value of the entry, null if the entry has been unset.voidsetOldValue(java.lang.String oldValue)The previous value of the entry.voidsetProfile(java.lang.String profile)The profile that has changed, if anyjava.lang.StringtoString()
-
-
-
Method Detail
-
getGroup
public java.lang.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 java.lang.String getProfile()
The profile that has changed, if any- See Also:
RuneScapeProfile.getKey()
-
getKey
public java.lang.String getKey()
The configuration key that has been modified.
-
getOldValue
public java.lang.String getOldValue()
The previous value of the entry.
-
getNewValue
@Nullable public java.lang.String getNewValue()
The new value of the entry, null if the entry has been unset.
-
setGroup
public void setGroup(java.lang.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 java.lang.String profile)The profile that has changed, if any- See Also:
RuneScapeProfile.getKey()
-
setKey
public void setKey(java.lang.String key)
The configuration key that has been modified.
-
setOldValue
public void setOldValue(java.lang.String oldValue)
The previous value of the entry.
-
setNewValue
public void setNewValue(@Nullable java.lang.String newValue)The new value of the entry, null if the entry has been unset.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-