public abstract class MonitorManager extends Object
| Modifier and Type | Field and Description | 
|---|---|
protected boolean | 
enabled  | 
| Constructor and Description | 
|---|
MonitorManager(String name)  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract boolean | 
canParsePerCheat()
Tell if the  
getResultPerCheat() method is supported. | 
void | 
disable()
Disable actual monitor. 
 | 
void | 
enable()
Enable actual monitor 
 | 
@NonNull String | 
getDescription()
Get description that will be showed at TOP of results 
 | 
@NonNull List<String> | 
getFooterResult()
Get footer of result. 
 | 
abstract List<MonitorMeasure> | 
getFullConfig()  | 
@NonNull List<String> | 
getHeaderResult()
Get header of result. 
 | 
@NonNull String | 
getName()
Get the name of what the monitor is checking 
 | 
abstract @NonNull List<String> | 
getResult()
Get parsed and showable result 
 | 
abstract HashMap<IDetectionKey<?>,List<String>> | 
getResultPerCheat()
Get result per cheat. 
 | 
boolean | 
isEnabled()
Check if the actual monitor is enabled 
 | 
static void | 
load()  | 
void | 
showPerCheatResult(CommandSender sender)
See parsed result with color 
 | 
void | 
showResult(CommandSender sender)
Show result from current monitor 
 | 
public MonitorManager(String name)
public static void load()
public void enable()
public void disable()
public boolean isEnabled()
public @NonNull String getName()
public @NonNull String getDescription()
public void showResult(CommandSender sender)
sender - who should see resultpublic void showPerCheatResult(CommandSender sender)
sender - who should see resultpublic @NonNull List<String> getHeaderResult()
public abstract @NonNull List<String> getResult()
public abstract boolean canParsePerCheat()
getResultPerCheat() method is supported.public abstract HashMap<IDetectionKey<?>,List<String>> getResultPerCheat()
canParsePerCheat() to be sure the map can be filled.public @NonNull List<String> getFooterResult()
public abstract List<MonitorMeasure> getFullConfig()