Class CapitalAuditEvent

java.lang.Object
org.bukkit.event.Event
com.patelheet.capitalengine.api.event.CapitalAuditEvent

public class CapitalAuditEvent extends org.bukkit.event.Event
Fired asynchronously after the nightly ledger self-check.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    CapitalAuditEvent(boolean ok, List<String> problems)
    Creates the event (async).
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
    Bukkit handler list.
    @NotNull org.bukkit.event.HandlerList
     
    boolean
    ok()
    Whether the books balanced.
    What was wrong; empty when ok().

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

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

    • CapitalAuditEvent

      public CapitalAuditEvent(boolean ok, List<String> problems)
      Creates the event (async).
  • Method Details

    • ok

      public boolean ok()
      Whether the books balanced.
    • problems

      public List<String> problems()
      What was wrong; empty when ok().
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
      Bukkit handler list.