Package fr.andross.banitem.utils.debug
Class DebugMessage
java.lang.Object
fr.andross.banitem.utils.debug.DebugMessage
A debug message with its type.
- Version:
- 3.1
- Author:
- Andross
-
Constructor Summary
ConstructorsConstructorDescriptionDebugMessage
(@Nullable ListType type, @NotNull String node) Creating a DebugMessage object with a first debug message node and its type.DebugMessage
(@NotNull String node) Creating a DebugMessage object with a first debug message node. -
Method Summary
-
Constructor Details
-
DebugMessage
Creating a DebugMessage object with a first debug message node.- Parameters:
node
- first debug message
-
DebugMessage
Creating a DebugMessage object with a first debug message node and its type.- Parameters:
type
- type of debug messagenode
- debug message
-
-
Method Details
-
getType
Get the type of node.- Returns:
- the type of node, null if it's not an important node
-
getNode
The message for this node.- Returns:
- the message of the node
-