org.gradle.api.tasks
Interface ConventionValue
public interface ConventionValue
A ConventionValue can be assigned to a IConventionAware
task. If a property
of such an object is not set internally, a ConventionValue is used to calculate the value for the property.
Method Summary |
Object |
getValue(Convention convention,
org.gradle.api.internal.IConventionAware conventionAwareObject)
Returns some object. |
getValue
Object getValue(Convention convention,
org.gradle.api.internal.IConventionAware conventionAwareObject)
- Returns some object.
- Parameters:
convention
- The convention object belonging to the task's projectconventionAwareObject
- The convention aware object