Interface ServerChannelChangePositionEvent
-
- All Superinterfaces:
ChannelEvent
,Event
,ServerChannelEvent
,ServerEvent
public interface ServerChannelChangePositionEvent extends ServerChannelEvent
A server channel change position event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<ChannelCategory>
getNewCategory()
Gets the new category of the channel.int
getNewPosition()
Gets the new position of the channel.int
getNewRawPosition()
Gets the new raw position of the channel.Optional<ChannelCategory>
getOldCategory()
Gets the old category of the channel.int
getOldPosition()
Gets the old position of the channel.int
getOldRawPosition()
Gets the old raw position of the channel.-
Methods inherited from interface org.javacord.api.event.channel.server.ServerChannelEvent
getChannel
-
Methods inherited from interface org.javacord.api.event.server.ServerEvent
getServer
-
-
-
-
Method Detail
-
getNewPosition
int getNewPosition()
Gets the new position of the channel.- Returns:
- The new position of the channel.
-
getOldPosition
int getOldPosition()
Gets the old position of the channel.- Returns:
- The old position of the channel.
-
getNewRawPosition
int getNewRawPosition()
Gets the new raw position of the channel.- Returns:
- The new raw position of the channel.
-
getOldRawPosition
int getOldRawPosition()
Gets the old raw position of the channel.- Returns:
- The old raw position of the channel.
-
getNewCategory
Optional<ChannelCategory> getNewCategory()
Gets the new category of the channel.- Returns:
- The new category of the channel.
-
getOldCategory
Optional<ChannelCategory> getOldCategory()
Gets the old category of the channel.- Returns:
- The old category of the channel.
-
-