Class PackagePresenceCheck

java.lang.Object
org.incendo.serverlib.Check
org.incendo.serverlib.PackagePresenceCheck
Direct Known Subclasses:
Yatopia

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

    • PackagePresenceCheck

      public PackagePresenceCheck(CheckType type, String... packages)
      Constructs a new check.
      Parameters:
      type - The type of the check.
      packages - Packages 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.