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
    Should return toString(null, false)
    toString(@Nullable org.bukkit.event.Event event, boolean debug)
  • Method Details

    • toString

      String toString(@Nullable org.bukkit.event.Event event, boolean debug)
      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
      String representation of this object
    • toString

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