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

## org.gradle.api.internal
Class BeanDynamicObject

    java.lang.Object
      org.gradle.api.internal.AbstractDynamicObject
          org.gradle.api.internal.BeanDynamicObject

    class BeanDynamicObject
    extends AbstractDynamicObject

A org.gradle.api.internal.DynamicObject which uses groovy reflection to provide access to the properties and methods of a bean.

Constructor Summary
`BeanDynamicObject(java.lang.Object bean)`
`private BeanDynamicObject(java.lang.Object bean, boolean includeProperties)`

Method Summary
`protected java.lang.String` | `getDisplayName()`
`Map` | `getProperties()`
`java.lang.Object` | `getProperty(java.lang.String name)`
`boolean` | `hasMethod(java.lang.String name, java.lang.Object arguments)`
`boolean` | `hasProperty(java.lang.String name)`
`java.lang.Object` | `invokeMethod(java.lang.String name, java.lang.Object arguments)`
`void` | `setProperty(java.lang.String name, java.lang.Object value)`
`java.lang.String` | `toString()`
`BeanDynamicObject` | `withNoProperties()`

Methods inherited from class AbstractDynamicObject
getDisplayName, getProperties, getProperty, hasMethod, hasProperty, invokeMethod, methodMissingException, propertyMissingException, setProperty

Methods inherited from class java.lang.Object
hashCode, getClass, equals, toString, wait, wait, wait, notify, notifyAll

Constructor Detail

### BeanDynamicObject

    public BeanDynamicObject(java.lang.Object bean)

### BeanDynamicObject

    private BeanDynamicObject(java.lang.Object bean, boolean includeProperties)

Method Detail

### getDisplayName

    protected java.lang.String getDisplayName()

### getProperties

    @Override
    public Map getProperties()

### getProperty

    @Override
    public java.lang.Object getProperty(java.lang.String name)

### hasMethod

    @Override
    public boolean hasMethod(java.lang.String name, java.lang.Object arguments)

### hasProperty

    @Override
    public boolean hasProperty(java.lang.String name)

### invokeMethod

    @Override
    public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object arguments)

### setProperty

    @Override
    public void setProperty(java.lang.String name, java.lang.Object value)

### toString

    @Override
    public java.lang.String toString()

### withNoProperties

    public BeanDynamicObject withNoProperties()

Groovy Documentation