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, getResponseNumbergetCategory, getGuild, getId, getIdLonggetEntity, getNewValue, getOldValue, getPropertyIdentifier, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEntityTypepublic static final java.lang.String IDENTIFIER