public interface PropertyActionContext
| Modifier and Type | Method and Description |
|---|---|
void |
attachActions(java.lang.Class<?> type) |
java.lang.Class<?> |
getInstanceVariableType()
If the property has an instance variable, returns the declared type of the instance variable.
|
java.lang.String |
getName()
Returns the name of this property.
|
java.lang.reflect.AnnotatedElement |
getTarget()
Returns the target for this property.
|
java.lang.Class<?> |
getType()
Returns the declared type of this property.
|
void |
setConfigureAction(UpdateAction action)
Specified the action used to configure the task based on the value of this property.
|
void |
setValidationAction(org.gradle.api.internal.project.taskfactory.ValidationAction action)
Specifies the action used to validate the value of this property.
|
java.lang.String getName()
java.lang.Class<?> getType()
java.lang.Class<?> getInstanceVariableType()
getType() if the public getter has a different return type.
If there is no instance variable for this property, will return null.java.lang.reflect.AnnotatedElement getTarget()
void setValidationAction(org.gradle.api.internal.project.taskfactory.ValidationAction action)
void setConfigureAction(UpdateAction action)
void attachActions(java.lang.Class<?> type)
Copyright © 2013. All rights reserved