Record Class RedisBungeeConfiguration.LegacySubCommandsConfiguration
java.lang.Object
java.lang.Record
com.imaginarycode.minecraft.redisbungee.api.config.RedisBungeeConfiguration.LegacySubCommandsConfiguration
- Enclosing class:
- RedisBungeeConfiguration
public static record RedisBungeeConfiguration.LegacySubCommandsConfiguration(boolean findEnabled, boolean glistEnabled, boolean ipEnabled, boolean lastseenEnabled, boolean plistEnabled, boolean pproxyEnabled, boolean sendtoallEnabled, boolean serveridEnabled, boolean serveridsEnabled, boolean installFind, boolean installGlist, boolean installIp, boolean installLastseen, boolean installPlist, boolean installPproxy, boolean installSendtoall, boolean installServerid, boolean installServerids)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionLegacySubCommandsConfiguration
(boolean findEnabled, boolean glistEnabled, boolean ipEnabled, boolean lastseenEnabled, boolean plistEnabled, boolean pproxyEnabled, boolean sendtoallEnabled, boolean serveridEnabled, boolean serveridsEnabled, boolean installFind, boolean installGlist, boolean installIp, boolean installLastseen, boolean installPlist, boolean installPproxy, boolean installSendtoall, boolean installServerid, boolean installServerids) Creates an instance of aLegacySubCommandsConfiguration
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.boolean
Returns the value of thefindEnabled
record component.boolean
Returns the value of theglistEnabled
record component.final int
hashCode()
Returns a hash code value for this object.boolean
Returns the value of theinstallFind
record component.boolean
Returns the value of theinstallGlist
record component.boolean
Returns the value of theinstallIp
record component.boolean
Returns the value of theinstallLastseen
record component.boolean
Returns the value of theinstallPlist
record component.boolean
Returns the value of theinstallPproxy
record component.boolean
Returns the value of theinstallSendtoall
record component.boolean
Returns the value of theinstallServerid
record component.boolean
Returns the value of theinstallServerids
record component.boolean
Returns the value of theipEnabled
record component.boolean
Returns the value of thelastseenEnabled
record component.boolean
Returns the value of theplistEnabled
record component.boolean
Returns the value of thepproxyEnabled
record component.boolean
Returns the value of thesendtoallEnabled
record component.boolean
Returns the value of theserveridEnabled
record component.boolean
Returns the value of theserveridsEnabled
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
LegacySubCommandsConfiguration
public LegacySubCommandsConfiguration(boolean findEnabled, boolean glistEnabled, boolean ipEnabled, boolean lastseenEnabled, boolean plistEnabled, boolean pproxyEnabled, boolean sendtoallEnabled, boolean serveridEnabled, boolean serveridsEnabled, boolean installFind, boolean installGlist, boolean installIp, boolean installLastseen, boolean installPlist, boolean installPproxy, boolean installSendtoall, boolean installServerid, boolean installServerids) Creates an instance of aLegacySubCommandsConfiguration
record class.- Parameters:
findEnabled
- the value for thefindEnabled
record componentglistEnabled
- the value for theglistEnabled
record componentipEnabled
- the value for theipEnabled
record componentlastseenEnabled
- the value for thelastseenEnabled
record componentplistEnabled
- the value for theplistEnabled
record componentpproxyEnabled
- the value for thepproxyEnabled
record componentsendtoallEnabled
- the value for thesendtoallEnabled
record componentserveridEnabled
- the value for theserveridEnabled
record componentserveridsEnabled
- the value for theserveridsEnabled
record componentinstallFind
- the value for theinstallFind
record componentinstallGlist
- the value for theinstallGlist
record componentinstallIp
- the value for theinstallIp
record componentinstallLastseen
- the value for theinstallLastseen
record componentinstallPlist
- the value for theinstallPlist
record componentinstallPproxy
- the value for theinstallPproxy
record componentinstallSendtoall
- the value for theinstallSendtoall
record componentinstallServerid
- the value for theinstallServerid
record componentinstallServerids
- the value for theinstallServerids
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
findEnabled
public boolean findEnabled()Returns the value of thefindEnabled
record component.- Returns:
- the value of the
findEnabled
record component
-
glistEnabled
public boolean glistEnabled()Returns the value of theglistEnabled
record component.- Returns:
- the value of the
glistEnabled
record component
-
ipEnabled
public boolean ipEnabled()Returns the value of theipEnabled
record component.- Returns:
- the value of the
ipEnabled
record component
-
lastseenEnabled
public boolean lastseenEnabled()Returns the value of thelastseenEnabled
record component.- Returns:
- the value of the
lastseenEnabled
record component
-
plistEnabled
public boolean plistEnabled()Returns the value of theplistEnabled
record component.- Returns:
- the value of the
plistEnabled
record component
-
pproxyEnabled
public boolean pproxyEnabled()Returns the value of thepproxyEnabled
record component.- Returns:
- the value of the
pproxyEnabled
record component
-
sendtoallEnabled
public boolean sendtoallEnabled()Returns the value of thesendtoallEnabled
record component.- Returns:
- the value of the
sendtoallEnabled
record component
-
serveridEnabled
public boolean serveridEnabled()Returns the value of theserveridEnabled
record component.- Returns:
- the value of the
serveridEnabled
record component
-
serveridsEnabled
public boolean serveridsEnabled()Returns the value of theserveridsEnabled
record component.- Returns:
- the value of the
serveridsEnabled
record component
-
installFind
public boolean installFind()Returns the value of theinstallFind
record component.- Returns:
- the value of the
installFind
record component
-
installGlist
public boolean installGlist()Returns the value of theinstallGlist
record component.- Returns:
- the value of the
installGlist
record component
-
installIp
public boolean installIp()Returns the value of theinstallIp
record component.- Returns:
- the value of the
installIp
record component
-
installLastseen
public boolean installLastseen()Returns the value of theinstallLastseen
record component.- Returns:
- the value of the
installLastseen
record component
-
installPlist
public boolean installPlist()Returns the value of theinstallPlist
record component.- Returns:
- the value of the
installPlist
record component
-
installPproxy
public boolean installPproxy()Returns the value of theinstallPproxy
record component.- Returns:
- the value of the
installPproxy
record component
-
installSendtoall
public boolean installSendtoall()Returns the value of theinstallSendtoall
record component.- Returns:
- the value of the
installSendtoall
record component
-
installServerid
public boolean installServerid()Returns the value of theinstallServerid
record component.- Returns:
- the value of the
installServerid
record component
-
installServerids
public boolean installServerids()Returns the value of theinstallServerids
record component.- Returns:
- the value of the
installServerids
record component
-