UpdateEvent<Category,java.lang.Integer>
public class CategoryUpdatePositionEvent extends GenericCategoryUpdateEvent<java.lang.Integer>
Category
was updated.
Can be used to retrieve the old position
Identifier: position
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
IDENTIFIER |
Constructor | Description |
---|---|
CategoryUpdatePositionEvent(JDA api,
long responseNumber,
Category category,
int oldPosition) |
Modifier and Type | Method | Description |
---|---|---|
int |
getNewPosition() |
The new position of this
Category |
int |
getOldPosition() |
The previous position of this
Category |
getJDA, getResponseNumber
getCategory, getGuild, getId, getIdLong
getEntity, getNewValue, getOldValue, getPropertyIdentifier, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEntityType
public static final java.lang.String IDENTIFIER