Package me.clientastisch.checks
Class CheckManager
- java.lang.Object
 - 
- me.clientastisch.checks.CheckManager
 
 
- 
public class CheckManager extends java.lang.Object- Since:
 - CAC v. 0.9945
 - Author:
 - Clientastisch
 
 
- 
- 
Constructor Summary
Constructors Constructor Description CheckManager() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<Checks>getByName(java.lang.String name)Get a check instance by namestatic booleantoggleCheck(java.lang.String check, boolean toggle)Disable a check for a certain plugin, addon or case to decrease the amount of possible false positives. 
 - 
 
- 
- 
Method Detail
- 
toggleCheck
public static boolean toggleCheck(java.lang.String check, boolean toggle)Disable a check for a certain plugin, addon or case to decrease the amount of possible false positives.- Parameters:
 check- the name of the detection that will be modifiedtoggle- set the new toggle-state of a check- Returns:
 - returns whether the check exists or not
 
 
- 
getByName
public static java.util.Optional<Checks> getByName(java.lang.String name)
Get a check instance by name- Parameters:
 name- the name of the detection- Returns:
 - returns an optional of the potential instance
 
 
 - 
 
 -