Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.api.plugins.quality
[Java] Class CodeNarc

    java.lang.Object
      org.gradle.api.internal.ConventionTask
          org.gradle.api.tasks.SourceTask
              org.gradle.api.plugins.quality.CodeNarc

All Implemented Interfaces:
  VerificationTask

    public class CodeNarc
    extends SourceTask

Runs CodeNarc against some source files.

Method Summary
`void` | `check()`
`java.io.File` | `getConfigFile()`
`java.io.File` | `getReportFile()`
`boolean` | `isIgnoreFailures()` {@inheritDoc}
`void` | `setConfigFile(java.io.File configFile)`
`CodeNarc` | `setIgnoreFailures(boolean ignoreFailures)` {@inheritDoc}
`void` | `setReportFile(java.io.File reportFile)`

Methods inherited from class SourceTask
exclude, exclude, exclude, exclude, getDefaultSource, getExcludes, getIncludes, getSource, include, include, include, include, setExcludes, setIncludes, setSource, source

Method Detail

### check

    @TaskAction
    public void check()

### getConfigFile

    @InputFile
    public java.io.File getConfigFile()

### getReportFile

    @OutputFile
    public java.io.File getReportFile()

### isIgnoreFailures

    public boolean isIgnoreFailures()

  {@inheritDoc}

### setConfigFile

    public void setConfigFile(java.io.File configFile)

### setIgnoreFailures

    public CodeNarc setIgnoreFailures(boolean ignoreFailures)

  {@inheritDoc}

### setReportFile

    public void setReportFile(java.io.File reportFile)

Groovy Documentation