Class VotifierEvent

java.lang.Object
com.vexsoftware.votifier.velocity.event.VotifierEvent
All Implemented Interfaces:
com.velocitypowered.api.event.ResultedEvent<com.velocitypowered.api.event.ResultedEvent.GenericResult>

public class VotifierEvent extends Object implements com.velocitypowered.api.event.ResultedEvent<com.velocitypowered.api.event.ResultedEvent.GenericResult>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.velocitypowered.api.event.ResultedEvent

    com.velocitypowered.api.event.ResultedEvent.ComponentResult, com.velocitypowered.api.event.ResultedEvent.GenericResult, com.velocitypowered.api.event.ResultedEvent.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    VotifierEvent(com.vexsoftware.votifier.model.Vote vote)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.velocitypowered.api.event.ResultedEvent.GenericResult
     
    com.vexsoftware.votifier.model.Vote
     
    void
    setResult(com.velocitypowered.api.event.ResultedEvent.GenericResult result)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • VotifierEvent

      public VotifierEvent(com.vexsoftware.votifier.model.Vote vote)
  • Method Details

    • getVote

      public com.vexsoftware.votifier.model.Vote getVote()
    • getResult

      public com.velocitypowered.api.event.ResultedEvent.GenericResult getResult()
      Specified by:
      getResult in interface com.velocitypowered.api.event.ResultedEvent<com.velocitypowered.api.event.ResultedEvent.GenericResult>
    • setResult

      public void setResult(com.velocitypowered.api.event.ResultedEvent.GenericResult result)
      Specified by:
      setResult in interface com.velocitypowered.api.event.ResultedEvent<com.velocitypowered.api.event.ResultedEvent.GenericResult>
    • toString

      public String toString()
      Overrides:
      toString in class Object