com.atlassian.bamboo.ant.task.property
Class GenericBeanTaskPropertyConfigurator

java.lang.Object
  extended by com.atlassian.bamboo.ant.task.property.AbstractBeanTaskPropertyConfigurator<java.lang.Object>
      extended by com.atlassian.bamboo.ant.task.property.GenericBeanTaskPropertyConfigurator
All Implemented Interfaces:
AntPropertyManipulator, AntTaskPropertyConfigurator<java.lang.Object>

public class GenericBeanTaskPropertyConfigurator
extends AbstractBeanTaskPropertyConfigurator<java.lang.Object>

AntTaskPropertyConfigurator for arbitrary beans. Last resort!

NOTE: it will fail if the property type is abstract.

Since:
3.4

Constructor Summary
GenericBeanTaskPropertyConfigurator()
           
 
Method Summary
protected  java.lang.Object instantiate(java.lang.Class<?> propertyType)
           
 boolean supports(java.lang.Class<?> propertyType, java.lang.String propertyName)
           
 
Methods inherited from class com.atlassian.bamboo.ant.task.property.AbstractBeanTaskPropertyConfigurator
fromConfig, fromConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericBeanTaskPropertyConfigurator

public GenericBeanTaskPropertyConfigurator()
Method Detail

supports

public boolean supports(java.lang.Class<?> propertyType,
                        java.lang.String propertyName)
Specified by:
supports in interface AntPropertyManipulator
Overrides:
supports in class AbstractBeanTaskPropertyConfigurator<java.lang.Object>

instantiate

protected java.lang.Object instantiate(java.lang.Class<?> propertyType)
Overrides:
instantiate in class AbstractBeanTaskPropertyConfigurator<java.lang.Object>


Copyright © 2012 Atlassian. All Rights Reserved.