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