All Downloads are FREE. Search and download functionalities are using the official Maven repository.

at.chrl.callbacks.CallbackPriority Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
/**
 * 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