Groovy Documentation

org.gradle.api.tasks
Interface ConventionValue


interface ConventionValue

A ConventionValue can be assigned to a org.gradle.api.internal.IConventionAware task. If a property of such an object is not set internally, a ConventionValue is used to calculate the value for the property.

author:
Hans Dockter


Method Summary
java.lang.Object getValue(Convention convention, IConventionAware conventionAwareObject)

Returns some object.

 

Method Detail

getValue

public java.lang.Object getValue(Convention convention, IConventionAware conventionAwareObject)
Returns some object.
param:
convention The convention object belonging to the task's project
param:
conventionAwareObject The convention aware object


 

Groovy Documentation