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 java.util.Optional<ChannelCategory>getNewCategory()Gets the new category of the channel.intgetNewPosition()Gets the new position of the channel.intgetNewRawPosition()Gets the new raw position of the channel.java.util.Optional<ChannelCategory>getOldCategory()Gets the old category of the channel.intgetOldPosition()Gets the old position of the channel.intgetOldRawPosition()Gets the old raw position of the channel.-
Methods inherited from interface org.javacord.api.event.channel.server.ServerChannelEvent
getChannel, 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
java.util.Optional<ChannelCategory> getNewCategory()
Gets the new category of the channel.- Returns:
- The new category of the channel.
-
getOldCategory
java.util.Optional<ChannelCategory> getOldCategory()
Gets the old category of the channel.- Returns:
- The old category of the channel.
-
-