-
- All Implemented Interfaces:
-
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,org.apache.maven.reporting.MavenMultiPageReport,org.apache.maven.reporting.MavenReport
@Mojo(name = "ktlint", defaultPhase = LifecyclePhase.VERIFY, requiresProject = true, threadSafe = true) public final class KtlintReport extends AbstractMavenReportA reporting task that performs
ktlintanalysis and generates a HTML report on any violations thatktlintfinds.
-
-
Field Summary
Fields Modifier and Type Field Description private final Sinksinkprivate final SinkFactorysinkFactoryprivate FilereportOutputDirectoryprivate Loglogprivate Map<Object, Object>pluginContext
-
Constructor Summary
Constructors Constructor Description KtlintReport()
-
Method Summary
Modifier and Type Method Description StringgetName(Locale locale)StringgetDescription(Locale locale)StringgetOutputName()BooleancanGenerateReport()-
Methods inherited from class org.apache.maven.reporting.AbstractMavenReport
execute, generate, generate, generate, getCategoryName, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectory -
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDescription
String getDescription(Locale locale)
-
getOutputName
String getOutputName()
-
canGenerateReport
Boolean canGenerateReport()
-
-
-
-