Uses of Enum
com.puppycrawl.tools.checkstyle.checks.imports.MismatchStrategy
Packages that use MismatchStrategy
Package
Description
Contains the Imports checks that are
bundled with the main distribution.
-
Uses of MismatchStrategy in com.puppycrawl.tools.checkstyle.checks.imports
Fields in com.puppycrawl.tools.checkstyle.checks.imports declared as MismatchStrategyModifier and TypeFieldDescriptionprivate final MismatchStrategy
AbstractImportControl.strategyOnMismatch
Strategy in a case if matching allow/disallow rule was not found.Methods in com.puppycrawl.tools.checkstyle.checks.imports that return MismatchStrategyModifier and TypeMethodDescriptionprivate static MismatchStrategy
ImportControlLoader.getStrategyForImportControl
(Attributes attributes) Utility to get a strategyOnMismatch property for "import-control" tag.private static MismatchStrategy
ImportControlLoader.getStrategyForSubpackage
(Attributes attributes) Utility to get a strategyOnMismatch property for "subpackage" tag.static MismatchStrategy
Returns the enum constant of this type with the specified name.static MismatchStrategy[]
MismatchStrategy.values()
Returns an array containing the constants of this enum type, in the order they are declared.Constructors in com.puppycrawl.tools.checkstyle.checks.imports with parameters of type MismatchStrategyModifierConstructorDescriptionprotected
AbstractImportControl
(AbstractImportControl parent, MismatchStrategy strategyOnMismatch) Construct a child node.(package private)
PkgImportControl
(PkgImportControl parent, String subPackageName, boolean regex, MismatchStrategy strategyOnMismatch) Construct a sub-package node.(package private)
PkgImportControl
(String packageName, boolean regex, MismatchStrategy strategyOnMismatch) Construct a root, package node.