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

## org.gradle.api.internal
Class ConventionTask

    java.lang.Object
      org.gradle.api.internal.AbstractTask
          org.gradle.api.DefaultTask
              org.gradle.api.internal.ConventionTask

All Implemented Interfaces:
  IConventionAware

    class ConventionTask
    extends DefaultTask

author:
  Hans Dockter

Constructor Summary
`ConventionTask(Project project, java.lang.String name)`

Method Summary
`java.lang.Object` | `conv(java.lang.Object internalValue, java.lang.String propertyName)`
`Task` | `conventionMapping(Map mapping)`
`Task` | `conventionMapping(java.lang.String property, ConventionValue mapping)`
`java.lang.Object` | `conventionProperty(java.lang.String name)`
`ConventionAwareHelper` | `getConventionAwareHelper()`
`Map` | `getConventionMapping()`
`void` | `setConventionAwareHelper(ConventionAwareHelper conventionAwareHelper)`
`void` | `setConventionMapping(Map conventionMapping)`

Methods inherited from class DefaultTask
leftShift, methodMissing, propertyMissing

Methods inherited from class AbstractTask
captureStandardOutput, compareTo, defineProperty, deleteAllActions, dependsOn, dependsOnTaskDidWork, disableStandardOutputCapture, doFirst, doLast, equals, execute, getActions, getAdditionalProperties, getAnt, getConvention, getDependsOn, getDescription, getDidWork, getDynamicObjectHelper, getEnabled, getExecuted, getLogger, getName, getPath, getProject, getSkipProperties, getStandardOutputCapture, getTaskDependencies, hasProperty, hashCode, isDidWork, isEnabled, isExecuted, onlyIf, onlyIf, property, setActions, setAdditionalProperties, setDependsOn, setDescription, setDidWork, setEnabled, setExecuted, setName, setProject, setProperty, setSkipProperties, setStandardOutputCapture, toString

Methods inherited from class java.lang.Object
hashCode, getClass, equals, toString, wait, wait, wait, notify, notifyAll

Constructor Detail

### ConventionTask

    public ConventionTask(Project project, java.lang.String name)

Method Detail

### conv

    public java.lang.Object conv(java.lang.Object internalValue, java.lang.String propertyName)

### conventionMapping

    public Task conventionMapping(Map mapping)

### conventionMapping

    public Task conventionMapping(java.lang.String property, ConventionValue mapping)

### conventionProperty

    public java.lang.Object conventionProperty(java.lang.String name)

### getConventionAwareHelper

    public ConventionAwareHelper getConventionAwareHelper()

### getConventionMapping

    public Map getConventionMapping()

### setConventionAwareHelper

    public void setConventionAwareHelper(ConventionAwareHelper conventionAwareHelper)

### setConventionMapping

    public void setConventionMapping(Map conventionMapping)

Groovy Documentation