Index

A B C E F G H I N O P R S U V 
All Classes and Interfaces|All Packages

A

addEventListener(BukkitEventListener) - Static method in class com.stardevllc.starevents.StarEvents
Adds an event listener that listents for Event's to then pass to the IEventBus
addFromPlugin(Plugin) - Static method in class com.stardevllc.starevents.StarEvents
Creates and adds a generated event listener from a plugin

B

BukkitEventBus - Class in com.stardevllc.starevents
This is a bus used for StarEvents related purposes that prevents duplicate events from triggering as multiple child events might be fired for the same event
BukkitEventBus() - Constructor for class com.stardevllc.starevents.BukkitEventBus
Constructs a new BukkitEventBus
BukkitEventListener - Class in com.stardevllc.starevents
Represents a Listener to have a base class for code generation
BukkitEventListener() - Constructor for class com.stardevllc.starevents.BukkitEventListener
Creates a new BukkitEventListener
BUS - Static variable in class com.stardevllc.starevents.StarEvents
The event bus used for passing Bukkit Events into

C

com.stardevllc.starevents - package com.stardevllc.starevents
 
com.stardevllc.starevents.plugin - package com.stardevllc.starevents.plugin
 
createListener(URLClassLoader, String, Collection<Class<? extends Event>>) - Static method in class com.stardevllc.starevents.StarEvents
Creates a listener that is generated dynamically

E

EventListener<E> - Interface in com.stardevllc.starevents
Represents a listener for Bukkit Events

F

FAIL - Enum constant in enum class com.stardevllc.starevents.StarEvents.Status
The fail status for if a listener failed to register

G

getEventClassesFromJar(File, ClassLoader) - Static method in class com.stardevllc.starevents.StarEvents
Finds and returns all event classes from a Jar File that have a static getHandlerList and no deprecated
This is the same rules for registering an event listener to Bukkit
getEventsTracked() - Static method in class com.stardevllc.starevents.StarEvents
Returns a copy of the map of the events tracked by StarEvents
The Key is the event class
The value is a pair with the first value being the listener instance, and the second value being the method of the listener
getFailedListeners() - Static method in class com.stardevllc.starevents.StarEvents
Returns a copy of the failed listeners.
getPlugin() - Static method in class com.stardevllc.starevents.StarEvents
Returns the plugin that initalized StarEvents
getSuccesfulListeners() - Static method in class com.stardevllc.starevents.StarEvents
Returns a copy of the successful listeners

H

handleEvent(Event) - Method in class com.stardevllc.starevents.BukkitEventListener
 

I

init(JavaPlugin) - Static method in class com.stardevllc.starevents.StarEvents
Initalizes StarEvents.

N

NULL - Enum constant in enum class com.stardevllc.starevents.StarEvents.Status
The null status if the provided listener was null

O

onEnable() - Method in class com.stardevllc.starevents.plugin.StandaloneStarEventsPlugin
 
onEnable() - Method in class com.stardevllc.starevents.plugin.StarEventsPlugin
 
onEvent(E) - Method in interface com.stardevllc.starevents.EventListener
Called when a change occurs
onLoad() - Method in class com.stardevllc.starevents.plugin.StarEventsPlugin
 

P

post(E) - Method in class com.stardevllc.starevents.BukkitEventBus
 

R

register(Class<E>, EventListener<E>) - Static method in interface com.stardevllc.starevents.EventListener
Registers an EventListener to the EventBus in StarEvents.
registerListener(Class<E>, EventListener<E>) - Static method in class com.stardevllc.starevents.StarEvents
Registers a listener to the event bus
registerListener(Object) - Static method in class com.stardevllc.starevents.StarEvents
Registers a listener to the event bus.

S

StandaloneStarEventsPlugin - Class in com.stardevllc.starevents.plugin
Plugin instance of StarEvents
StandaloneStarEventsPlugin() - Constructor for class com.stardevllc.starevents.plugin.StandaloneStarEventsPlugin
Constructs a new StarEventsPlugin
StarEvents - Class in com.stardevllc.starevents
Main class for StarEvents
StarEvents.Status - Enum Class in com.stardevllc.starevents
Enum for the status of a listener
StarEventsPlugin - Class in com.stardevllc.starevents.plugin
Plugin instance of StarEvents
StarEventsPlugin() - Constructor for class com.stardevllc.starevents.plugin.StarEventsPlugin
Constructs a new StarEventsPlugin
SUCCESS - Enum constant in enum class com.stardevllc.starevents.StarEvents.Status
The success status if a listener was registered successfully

U

unregisterListener(EventListener<?>) - Static method in class com.stardevllc.starevents.StarEvents
Unregisters an event listener

V

valueOf(String) - Static method in enum class com.stardevllc.starevents.StarEvents.Status
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.stardevllc.starevents.StarEvents.Status
Returns an array containing the constants of this enum class, in the order they are declared.
A B C E F G H I N O P R S U V 
All Classes and Interfaces|All Packages