Package 

Class KtlintReport

  • 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 AbstractMavenReport
                        

    A reporting task that performs ktlint analysis and generates a HTML report on any violations that ktlint finds.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      KtlintReport()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getName(Locale locale)
      String getDescription(Locale locale)
      String getOutputName()
      Boolean canGenerateReport()
      • 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