Package org.javacord.core.entity.channel
Class ChannelUpdaterDelegateImpl
- java.lang.Object
-
- org.javacord.core.entity.channel.ChannelUpdaterDelegateImpl
-
- All Implemented Interfaces:
GroupChannelUpdaterDelegate
public class ChannelUpdaterDelegateImpl extends Object implements GroupChannelUpdaterDelegate
The implementation ofGroupChannelUpdaterDelegate
.
-
-
Field Summary
Fields Modifier and Type Field Description protected GroupChannel
channel
The channel to update.protected String
name
The name to update.
-
Constructor Summary
Constructors Constructor Description ChannelUpdaterDelegateImpl(GroupChannel channel)
Creates a new group channel updater delegate.
-
-
-
Field Detail
-
channel
protected final GroupChannel channel
The channel to update.
-
name
protected String name
The name to update.
-
-
Constructor Detail
-
ChannelUpdaterDelegateImpl
public ChannelUpdaterDelegateImpl(GroupChannel channel)
Creates a new group channel updater delegate.- Parameters:
channel
- The channel to update.
-
-
Method Detail
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceGroupChannelUpdaterDelegate
-
update
public CompletableFuture<Void> update()
- Specified by:
update
in interfaceGroupChannelUpdaterDelegate
-
-