Record Class Config.DeprecatedModule
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Config.DeprecatedModule
- All Implemented Interfaces:
EnableSetting
- Enclosing class:
Config
@Deprecated(forRemoval=true)
public static record Config.DeprecatedModule(Boolean enable, Boolean alwaysSendSilentPacket, Boolean usePaperMessageSender, Boolean useBukkitPreLoginListener)
extends Record
implements EnableSetting
Deprecated, for removal: This API element is subject to removal in a future version.
- Since:
- 1.7.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecatedModule(Boolean enable, Boolean alwaysSendSilentPacket, Boolean usePaperMessageSender, Boolean useBukkitPreLoginListener) Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of aDeprecatedModulerecord class. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Returns the value of thealwaysSendSilentPacketrecord component.builder()Deprecated, for removal: This API element is subject to removal in a future version.enable()Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of theenablerecord component.final booleanDeprecated, for removal: This API element is subject to removal in a future version.Indicates whether some other object is "equal to" this one.final inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.Returns a hash code value for this object.Deprecated, for removal: This API element is subject to removal in a future version.final StringtoString()Deprecated, for removal: This API element is subject to removal in a future version.Returns a string representation of this record class.Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of theuseBukkitPreLoginListenerrecord component.Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of theusePaperMessageSenderrecord component.withAlwaysSendSilentPacket(Boolean alwaysSendSilentPacket) Deprecated, for removal: This API element is subject to removal in a future version.withEnable(Boolean enable) Deprecated, for removal: This API element is subject to removal in a future version.withUseBukkitPreLoginListener(Boolean useBukkitPreLoginListener) Deprecated, for removal: This API element is subject to removal in a future version.withUsePaperMessageSender(Boolean usePaperMessageSender) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
DeprecatedModule
public DeprecatedModule(Boolean enable, Boolean alwaysSendSilentPacket, Boolean usePaperMessageSender, Boolean useBukkitPreLoginListener) Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of aDeprecatedModulerecord class.- Parameters:
enable- the value for theenablerecord componentalwaysSendSilentPacket- the value for thealwaysSendSilentPacketrecord componentusePaperMessageSender- the value for theusePaperMessageSenderrecord componentuseBukkitPreLoginListener- the value for theuseBukkitPreLoginListenerrecord component
-
-
Method Details
-
builder
Deprecated, for removal: This API element is subject to removal in a future version. -
toBuilder
Deprecated, for removal: This API element is subject to removal in a future version. -
withEnable
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withAlwaysSendSilentPacket
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withUsePaperMessageSender
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withUseBukkitPreLoginListener
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.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()Deprecated, for removal: This API element is subject to removal in a future version.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Deprecated, for removal: This API element is subject to removal in a future version.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 withObjects::equals(Object,Object). -
enable
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of theenablerecord component.- Specified by:
enablein interfaceEnableSetting- Returns:
- the value of the
enablerecord component
-
alwaysSendSilentPacket
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of thealwaysSendSilentPacketrecord component.- Returns:
- the value of the
alwaysSendSilentPacketrecord component
-
usePaperMessageSender
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of theusePaperMessageSenderrecord component.- Returns:
- the value of the
usePaperMessageSenderrecord component
-
useBukkitPreLoginListener
Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of theuseBukkitPreLoginListenerrecord component.- Returns:
- the value of the
useBukkitPreLoginListenerrecord component
-