Record Class Permission.Message
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Permission.Message
- All Implemented Interfaces:
PermissionSetting
- Enclosing class:
Permission
public static record Permission.Message(String name, Permission.Type type, Permission.Message.Afk afk, Permission.Message.Anvil anvil, Permission.Message.Auto auto, Permission.Message.Book book, Permission.Message.Bossbar bossbar, Permission.Message.Brand brand, Permission.Message.Bubble bubble, Permission.Message.Chat chat, Permission.Message.Format format, Permission.Message.Greeting greeting, Permission.Message.Join join, Permission.Message.Quit quit, Permission.Message.Rightclick rightclick, Permission.Message.Scoreboard scoreboard, Permission.Message.Serverlink serverlink, Permission.Message.Sidebar sidebar, Permission.Message.Sign sign, Permission.Message.Status status, Permission.Message.Tab tab, Permission.Message.Update update, Permission.Message.Vanilla vanilla)
extends Record
implements PermissionSetting
- Since:
- 1.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic classstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionMessage(String name, Permission.Type type, Permission.Message.Afk afk, Permission.Message.Anvil anvil, Permission.Message.Auto auto, Permission.Message.Book book, Permission.Message.Bossbar bossbar, Permission.Message.Brand brand, Permission.Message.Bubble bubble, Permission.Message.Chat chat, Permission.Message.Format format, Permission.Message.Greeting greeting, Permission.Message.Join join, Permission.Message.Quit quit, Permission.Message.Rightclick rightclick, Permission.Message.Scoreboard scoreboard, Permission.Message.Serverlink serverlink, Permission.Message.Sidebar sidebar, Permission.Message.Sign sign, Permission.Message.Status status, Permission.Message.Tab tab, Permission.Message.Update update, Permission.Message.Vanilla vanilla) Creates an instance of aMessagerecord class. -
Method Summary
Modifier and TypeMethodDescriptionafk()Returns the value of theafkrecord component.anvil()Returns the value of theanvilrecord component.auto()Returns the value of theautorecord component.book()Returns the value of thebookrecord component.bossbar()Returns the value of thebossbarrecord component.brand()Returns the value of thebrandrecord component.bubble()Returns the value of thebubblerecord component.builder()chat()Returns the value of thechatrecord component.final booleanIndicates whether some other object is "equal to" this one.format()Returns the value of theformatrecord component.greeting()Returns the value of thegreetingrecord component.final inthashCode()Returns a hash code value for this object.join()Returns the value of thejoinrecord component.name()Returns the value of thenamerecord component.quit()Returns the value of thequitrecord component.Returns the value of therightclickrecord component.Returns the value of thescoreboardrecord component.Returns the value of theserverlinkrecord component.sidebar()Returns the value of thesidebarrecord component.sign()Returns the value of thesignrecord component.status()Returns the value of thestatusrecord component.tab()Returns the value of thetabrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.update()Returns the value of theupdaterecord component.vanilla()Returns the value of thevanillarecord component.withBossbar(Permission.Message.Bossbar bossbar) withBubble(Permission.Message.Bubble bubble) withFormat(Permission.Message.Format format) withGreeting(Permission.Message.Greeting greeting) withRightclick(Permission.Message.Rightclick rightclick) withScoreboard(Permission.Message.Scoreboard scoreboard) withServerlink(Permission.Message.Serverlink serverlink) withSidebar(Permission.Message.Sidebar sidebar) withStatus(Permission.Message.Status status) withType(Permission.Type type) withUpdate(Permission.Message.Update update) withVanilla(Permission.Message.Vanilla vanilla)
-
Constructor Details
-
Message
public Message(String name, Permission.Type type, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/afk") Permission.Message.Afk afk, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/anvil") Permission.Message.Anvil anvil, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/auto") Permission.Message.Auto auto, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/book") Permission.Message.Book book, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/bossbar") Permission.Message.Bossbar bossbar, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/brand") Permission.Message.Brand brand, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/bubble") Permission.Message.Bubble bubble, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/chat") Permission.Message.Chat chat, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format") Permission.Message.Format format, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/greeting") Permission.Message.Greeting greeting, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/join") Permission.Message.Join join, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/quit") Permission.Message.Quit quit, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/rightclick") Permission.Message.Rightclick rightclick, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/scoreboard") Permission.Message.Scoreboard scoreboard, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/serverlink") Permission.Message.Serverlink serverlink, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/sidebar") Permission.Message.Sidebar sidebar, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/sign") Permission.Message.Sign sign, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/status") Permission.Message.Status status, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/tab") Permission.Message.Tab tab, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/update") Permission.Message.Update update, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/vanilla") Permission.Message.Vanilla vanilla) Creates an instance of aMessagerecord class.- Parameters:
name- the value for thenamerecord componenttype- the value for thetyperecord componentafk- the value for theafkrecord componentanvil- the value for theanvilrecord componentauto- the value for theautorecord componentbook- the value for thebookrecord componentbossbar- the value for thebossbarrecord componentbrand- the value for thebrandrecord componentbubble- the value for thebubblerecord componentchat- the value for thechatrecord componentformat- the value for theformatrecord componentgreeting- the value for thegreetingrecord componentjoin- the value for thejoinrecord componentquit- the value for thequitrecord componentrightclick- the value for therightclickrecord componentscoreboard- the value for thescoreboardrecord componentserverlink- the value for theserverlinkrecord componentsidebar- the value for thesidebarrecord componentsign- the value for thesignrecord componentstatus- the value for thestatusrecord componenttab- the value for thetabrecord componentupdate- the value for theupdaterecord componentvanilla- the value for thevanillarecord component
-
-
Method Details
-
builder
-
toBuilder
-
withName
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withType
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withAfk
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withAnvil
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withAuto
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withBook
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withBossbar
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withBrand
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withBubble
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withChat
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFormat
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withGreeting
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withJoin
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withQuit
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withRightclick
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withScoreboard
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withServerlink
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSidebar
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSign
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withStatus
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTab
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withUpdate
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withVanilla
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
toString
-
hashCode
-
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 withObjects::equals(Object,Object). -
name
Returns the value of thenamerecord component.- Specified by:
namein interfacePermissionSetting- Returns:
- the value of the
namerecord component
-
type
Returns the value of thetyperecord component.- Specified by:
typein interfacePermissionSetting- Returns:
- the value of the
typerecord component - See Also:
-
afk
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/afk") public Permission.Message.Afk afk()Returns the value of theafkrecord component.- Returns:
- the value of the
afkrecord component
-
anvil
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/anvil") public Permission.Message.Anvil anvil()Returns the value of theanvilrecord component.- Returns:
- the value of the
anvilrecord component
-
auto
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/auto") public Permission.Message.Auto auto()Returns the value of theautorecord component.- Returns:
- the value of the
autorecord component
-
book
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/book") public Permission.Message.Book book()Returns the value of thebookrecord component.- Returns:
- the value of the
bookrecord component
-
bossbar
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/bossbar") public Permission.Message.Bossbar bossbar()Returns the value of thebossbarrecord component.- Returns:
- the value of the
bossbarrecord component
-
brand
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/brand") public Permission.Message.Brand brand()Returns the value of thebrandrecord component.- Returns:
- the value of the
brandrecord component
-
bubble
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/bubble") public Permission.Message.Bubble bubble()Returns the value of thebubblerecord component.- Returns:
- the value of the
bubblerecord component
-
chat
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/chat") public Permission.Message.Chat chat()Returns the value of thechatrecord component.- Returns:
- the value of the
chatrecord component
-
format
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format") public Permission.Message.Format format()Returns the value of theformatrecord component.- Returns:
- the value of the
formatrecord component
-
greeting
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/greeting") public Permission.Message.Greeting greeting()Returns the value of thegreetingrecord component.- Returns:
- the value of the
greetingrecord component
-
join
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/join") public Permission.Message.Join join()Returns the value of thejoinrecord component.- Returns:
- the value of the
joinrecord component
-
quit
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/quit") public Permission.Message.Quit quit()Returns the value of thequitrecord component.- Returns:
- the value of the
quitrecord component
-
rightclick
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/rightclick") public Permission.Message.Rightclick rightclick()Returns the value of therightclickrecord component.- Returns:
- the value of the
rightclickrecord component
-
scoreboard
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/scoreboard") public Permission.Message.Scoreboard scoreboard()Returns the value of thescoreboardrecord component.- Returns:
- the value of the
scoreboardrecord component
-
serverlink
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/serverlink") public Permission.Message.Serverlink serverlink()Returns the value of theserverlinkrecord component.- Returns:
- the value of the
serverlinkrecord component
-
sidebar
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/sidebar") public Permission.Message.Sidebar sidebar()Returns the value of thesidebarrecord component.- Returns:
- the value of the
sidebarrecord component
-
sign
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/sign") public Permission.Message.Sign sign()Returns the value of thesignrecord component.- Returns:
- the value of the
signrecord component
-
status
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/status") public Permission.Message.Status status()Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
tab
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/tab") public Permission.Message.Tab tab()Returns the value of thetabrecord component.- Returns:
- the value of the
tabrecord component
-
update
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/update") public Permission.Message.Update update()Returns the value of theupdaterecord component.- Returns:
- the value of the
updaterecord component
-
vanilla
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/vanilla") public Permission.Message.Vanilla vanilla()Returns the value of thevanillarecord component.- Returns:
- the value of the
vanillarecord component
-