Class Rule
java.lang.Object
io.swagger.codegen.v3.ignore.rules.Rule
- Direct Known Subclasses:
EverythingRule,FileRule,InvalidRule,RootedFileRule
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Ruleprotected Rule.Operationprotected Rule.OperationWhether or not the rule should be negated.protected Stringabstract Boolean
-
Method Details
-
matches
-
getDefinition
-
getPattern
-
getNegated
Whether or not the rule should be negated. !foo means foo should be removed from previous matches. Example: **\/*.bak excludes all backup. Adding !/test.bak will include test.bak in the project root.NOTE: It is not possible to re-include a file if a parent directory of that file is excluded.
- Returns:
trueif the rule is negated (inverse), otherwisefalse(normal).
-
evaluate
-
getIncludeOperation
-
getExcludeOperation
-
create
-