com.vexsoftware.votifier.model
Class VotifierEvent

java.lang.Object
  extended by org.bukkit.event.Event
      extended by com.vexsoftware.votifier.model.VotifierEvent

public class VotifierEvent
extends org.bukkit.event.Event

VotifierEvent is a custom Bukkit event class that is sent synchronously to CraftBukkit's main thread allowing other plugins to listener for votes.

Author:
frelling

Nested Class Summary
 
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
 
Constructor Summary
VotifierEvent(Vote vote)
          Constructs a vote event that encapsulated the given vote record.
 
Method Summary
static org.bukkit.event.HandlerList getHandlerList()
           
 org.bukkit.event.HandlerList getHandlers()
           
 Vote getVote()
          Return the encapsulated vote record.
 
Methods inherited from class org.bukkit.event.Event
getEventName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VotifierEvent

public VotifierEvent(Vote vote)
Constructs a vote event that encapsulated the given vote record.

Parameters:
vote - vote record
Method Detail

getVote

public Vote getVote()
Return the encapsulated vote record.

Returns:
vote record

getHandlers

public org.bukkit.event.HandlerList getHandlers()
Specified by:
getHandlers in class org.bukkit.event.Event

getHandlerList

public static org.bukkit.event.HandlerList getHandlerList()


Copyright © 2013. All Rights Reserved.