Interface HistoryLine
public interface HistoryLine
Represents a historical record line related to a specific module and context
for a particular offline player. This interface defines the basic metadata
associated with such a history entry.
-
Method Summary
Modifier and TypeMethodDescriptionGets the context or description of this history line.Gets the date and time when this history line was created.Gets the name of the module that generated or is associated with this history line.org.bukkit.OfflinePlayer
Gets the offline player associated with this history line.
-
Method Details
-
getOfflinePlayer
org.bukkit.OfflinePlayer getOfflinePlayer()Gets the offline player associated with this history line.- Returns:
- the
OfflinePlayer
this history line pertains to
-
getModule
String getModule()Gets the name of the module that generated or is associated with this history line.- Returns:
- the module name as a
String
-
getContext
String getContext()Gets the context or description of this history line. This can be used to give more specific details about the event or data recorded.- Returns:
- the context as a
String
-
getCreatedAt
Date getCreatedAt()Gets the date and time when this history line was created.- Returns:
- the creation date as a
Date
-