Package org.openrewrite.java.style
Class CheckstyleConfigLoader
java.lang.Object
org.openrewrite.java.style.CheckstyleConfigLoader
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CheckstyleloadCheckstyleConfig(InputStream checkstyleConf, Map<String, Object> properties) static CheckstyleloadCheckstyleConfig(String checkstyleConf, Map<String, Object> properties) static CheckstyleloadCheckstyleConfig(Path checkstyleConf, Map<String, Object> properties)
-
Method Details
-
loadCheckstyleConfig
public static Checkstyle loadCheckstyleConfig(Path checkstyleConf, Map<String, Object> properties) throws com.puppycrawl.tools.checkstyle.api.CheckstyleException- Throws:
com.puppycrawl.tools.checkstyle.api.CheckstyleException
-
loadCheckstyleConfig
public static Checkstyle loadCheckstyleConfig(@Language("XML") String checkstyleConf, Map<String, Object> properties) throws com.puppycrawl.tools.checkstyle.api.CheckstyleException- Throws:
com.puppycrawl.tools.checkstyle.api.CheckstyleException
-
loadCheckstyleConfig
public static Checkstyle loadCheckstyleConfig(InputStream checkstyleConf, Map<String, Object> properties) throws com.puppycrawl.tools.checkstyle.api.CheckstyleException- Throws:
com.puppycrawl.tools.checkstyle.api.CheckstyleException
-