![JAR search and dependency download from the Maven repository](/logo.png)
at.chrl.callbacks.CallbackPriority Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chrl-callbacks Show documentation
Show all versions of chrl-callbacks Show documentation
Callback Framework to hook up on method calls with annotations
/**
* This file is part of aion-lightning .
*
* aion-lightning is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version.
*
* aion-lightning is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* aion-lightning. If not, see .
*/
package at.chrl.callbacks;
/**
* Interface that is used to mark callback priority when it's not default.
* Callback doesn't have to implement this interface if priority is default.
* Listeners with bigger priority are executed earlier.
*
* @author SoulKeeper
*/
public interface CallbackPriority {
/**
* Returns default priority of callback
*/
public static final int DEFAULT_PRIORITY = 0;
/**
* Returns callbacks priority
*
* @return priority of callback
*/
public int getPriority();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy