Class BusinessEvent
java.lang.Object
org.bukkit.event.Event
us.teaminceptus.novaconomy.api.events.business.BusinessEvent
- Direct Known Subclasses:
BusinessAdvertiseEvent,BusinessCreateEvent,BusinessProductAddEvent,BusinessProductRemoveEvent,BusinessStockEvent,BusinessViewEvent
Represents an Event with a Business involved
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull BusinessFetches the BusinessEvent's Businessstatic HandlerListFetches the Event Handlers.Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
BusinessEvent
Constructs a BusinessEvent.- Parameters:
b- Business involved
-
-
Method Details
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
Fetches the Event Handlers.- Returns:
- Event Handlers
- See Also:
-
getBusiness
Fetches the BusinessEvent's Business- Returns:
- Business involved in this event
-