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

## org.gradle.api.internal
Interface IConventionAware

    interface IConventionAware

author:
  Hans Dockter

Method Summary
`java.lang.Object` | `conv(java.lang.Object internalValue, java.lang.String propertyName)` Returns a value for a property of a convention aware object.
`java.lang.Object` | `conventionMapping(Map mapping)`
`java.lang.Object` | `conventionProperty(java.lang.String name)`
`Map` | `getConventionMapping()`
`void` | `setConventionMapping(Map conventionMapping)`

Method Detail

### conv

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

  Returns a value for a property of a convention aware object. If the internal value is different to null, this method returns the internal value. Otherwise the value from the convention mapping for this property is returned. If no such mapping exists for this property, null is returned.
  param:
    internalValue The internal value of the property
  param:
    propertyName The name of the propery of the convention aware object
  return:
    The value of a property

### conventionMapping

    public java.lang.Object conventionMapping(Map mapping)

### conventionProperty

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

### getConventionMapping

    public Map getConventionMapping()

### setConventionMapping

    public void setConventionMapping(Map conventionMapping)

Groovy Documentation