Class DebugMessage

java.lang.Object
fr.andross.banitem.utils.debug.DebugMessage

public final class DebugMessage extends Object
A debug message with its type.
Version:
3.1
Author:
Andross
  • Constructor Details

    • DebugMessage

      public DebugMessage(@NotNull @NotNull String node)
      Creating a DebugMessage object with a first debug message node.
      Parameters:
      node - first debug message
    • DebugMessage

      public DebugMessage(@Nullable @Nullable ListType type, @NotNull @NotNull String node)
      Creating a DebugMessage object with a first debug message node and its type.
      Parameters:
      type - type of debug message
      node - debug message
  • Method Details

    • getType

      @Nullable public @Nullable ListType getType()
      Get the type of node.
      Returns:
      the type of node, null if it's not an important node
    • getNode

      @NotNull public @NotNull String getNode()
      The message for this node.
      Returns:
      the message of the node