Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, VerificationTask, org.gradle.plugin.devel.tasks.internal.ValidateTaskPropertiesBackwardsCompatibleAdapter, org.gradle.util.Configurable<Task>@CacheableTask public class ValidateTaskProperties extends org.gradle.api.internal.ConventionTask implements VerificationTask, org.gradle.plugin.devel.tasks.internal.ValidateTaskPropertiesBackwardsCompatibleAdapter
Task properties must be annotated with one of:
Input,
                 @Nested,
                 @InputFile,
                 @InputDirectory,
                 @InputFiles
                 to mark it as an input to the task.
             OutputFile,
                 @OutputDirectory
                 to mark it as an output of the task.
             Task.NamerTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor | Description | 
|---|---|
| ValidateTaskProperties(ObjectFactory objects,
                      ProjectLayout layout) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| ConfigurableFileCollection | getClasses() | The classes to validate. | 
| protected org.gradle.internal.classloader.ClassLoaderFactory | getClassLoaderFactory() | |
| ConfigurableFileCollection | getClasspath() | The classpath used to load the classes under validation. | 
| protected org.gradle.api.internal.DocumentationRegistry | getDocumentationRegistry() | |
| boolean | getEnableStricterValidation() | Enable the stricter validation for cacheable tasks for all tasks. | 
| boolean | getFailOnWarning() | Returns whether the build should break when the verifications performed by this task detects a warning. | 
| boolean | getIgnoreFailures() | Specifies whether the build should break when the verifications performed by this task fail. | 
| RegularFileProperty | getOutputFile() | Returns the output file to store the report in. | 
| void | setClasses(FileCollection classes) | Deprecated.
 Use  getClasses().setFrom instead. | 
| void | setClasspath(FileCollection classpath) | Deprecated.
 Use  getClasspath().setFrom instead. | 
| void | setEnableStricterValidation(boolean enableStricterValidation) | Enable the stricter validation for cacheable tasks for all tasks. | 
| void | setFailOnWarning(boolean failOnWarning) | Specifies whether the build should break when the verifications performed by this task detects a warning. | 
| void | setIgnoreFailures(boolean ignoreFailures) | Specifies whether the build should break when the verifications performed by this task fail. | 
| void | validateTaskClasses() | 
conventionMapping, conventionMapping, getConventionMappingnewInputDirectory, newInputFile, newOutputDirectory, newOutputFileappendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString@Inject public ValidateTaskProperties(ObjectFactory objects, ProjectLayout layout)
public void validateTaskClasses()
                         throws IOException
IOExceptionpublic boolean getIgnoreFailures()
getIgnoreFailures in interface VerificationTaskpublic void setIgnoreFailures(boolean ignoreFailures)
setIgnoreFailures in interface VerificationTaskignoreFailures - false to break the build on failure, true to ignore the failures. The default is false.@PathSensitive(RELATIVE) @InputFiles @SkipWhenEmpty public ConfigurableFileCollection getClasses()
getClasses in interface org.gradle.plugin.devel.tasks.internal.ValidateTaskPropertiesBackwardsCompatibleAdapter@Deprecated public void setClasses(FileCollection classes)
getClasses().setFrom instead.@Classpath public ConfigurableFileCollection getClasspath()
getClasspath in interface org.gradle.plugin.devel.tasks.internal.ValidateTaskPropertiesBackwardsCompatibleAdapter@Deprecated public void setClasspath(FileCollection classpath)
getClasspath().setFrom instead.@Input public boolean getFailOnWarning()
@Incubating @Input public boolean getEnableStricterValidation()
@Incubating public void setEnableStricterValidation(boolean enableStricterValidation)
@Optional @OutputFile public RegularFileProperty getOutputFile()
public void setFailOnWarning(boolean failOnWarning)
failOnWarning - true to break the build on warning, false to ignore warnings. The default is false.@Inject protected org.gradle.internal.classloader.ClassLoaderFactory getClassLoaderFactory()
@Inject protected org.gradle.api.internal.DocumentationRegistry getDocumentationRegistry()