Class ClassPresenceCheck

java.lang.Object
org.incendo.serverlib.Check
org.incendo.serverlib.ClassPresenceCheck
Direct Known Subclasses:
Akarin, Fabric, Forge, KibblePatcher, Sugarcane

public abstract class ClassPresenceCheck extends Check
Checks for the presence of specific classes on the classpath.
  • Constructor Details

    • ClassPresenceCheck

      public ClassPresenceCheck(CheckType type, String... classes)
      Constructs a new check.
      Parameters:
      type - The type of the check.
      classes - Classes to search for.
  • Method Details

    • shouldFlag

      public boolean shouldFlag()
      Description copied from class: Check
      Checks whether or not the check detects the presence of unsafe software.
      Specified by:
      shouldFlag in class Check
      Returns:
      Whether or not the check detects the presence of the unsafe software.