Package org.slf4j.migrator.line
Interface ConversionRule
- All Known Implementing Classes:
MultiGroupConversionRule
,SingleConversionRule
public interface ConversionRule
-
Method Summary
Modifier and TypeMethodDescriptionReturns a non-null value if there should be an additional line following a match of this rule.Given replacement rules, replace each capturing group in matcher's pattern
-
Method Details
-
getPattern
Pattern getPattern() -
replace
Given replacement rules, replace each capturing group in matcher's pattern- Parameters:
matcher
-- Returns:
- String
-
getAdditionalLine
String getAdditionalLine()Returns a non-null value if there should be an additional line following a match of this rule. In most cases this method returns null.- Returns:
- String
-