Package org.incendo.serverlib
Class PackagePresenceCheck
java.lang.Object
org.incendo.serverlib.Check
org.incendo.serverlib.PackagePresenceCheck
- Direct Known Subclasses:
Yatopia
Checks for the presence of specific packages on the classpath.
-
Constructor Summary
ConstructorsConstructorDescriptionPackagePresenceCheck(CheckType type, String... packages) Constructs a new check. -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether or not the check detects the presence of unsafe software.Methods inherited from class org.incendo.serverlib.Check
explain, printExplanation, type
-
Constructor Details
-
PackagePresenceCheck
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:CheckChecks whether or not the check detects the presence of unsafe software.- Specified by:
shouldFlagin classCheck- Returns:
- Whether or not the check detects the presence of the unsafe software.
-