Interface Debuggable

All Known Subinterfaces:
DefaultExpression<T>, Expression<T>, Literal<T>
All Known Implementing Classes:
AsyncEffect, ClassInfo, Condition, ContainerExpression, ConvertedExpression, ConvertedLiteral, Converter.ConverterInfo, CursorSlot, DroppedItemSlot, Effect, EffectSection, EffectSectionEffect, EnumClassInfo, EquipmentSlot, ExpressionList, InventorySlot, ItemFrameSlot, LiteralList, LiteralString, LoopSection, RegistryClassInfo, ReturnableTrigger, Section, SectionSkriptEvent, SelfRegisteringSkriptEvent, SimpleEvent, SimpleExpression, SimpleLiteral, SkriptEvent, Slot, Slot, SlotWithIndex, Statement, Structure, ThrowableProjectileSlot, Trigger, TriggerItem, TriggerSection, UnparsedLiteral, Variable, VariableString

public interface Debuggable
Represents an element that can print details involving an event.
  • Method Summary

    Modifier and Type
    Method
    Description
    Should return toString(null, false)
    toString(@Nullable org.bukkit.event.Event event, boolean debug)
     
  • Method Details

    • toString

      String toString(@Nullable @Nullable org.bukkit.event.Event event, boolean debug)
      Parameters:
      event - The event to get information from. This is always null if debug == false.
      debug - If true this should print more information, if false this should print what is shown to the end user
      Returns:
      String representation of this object
    • toString

      String toString()
      Should return toString(null, false)
      Overrides:
      toString in class Object