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

java.lang.Object
  extended by com.atlassian.bamboo.ant.task.property.AbstractBeanWebPropertyConfigurator
All Implemented Interfaces:
AntPropertyManipulator, AntWebPropertyConfigurator
Direct Known Subclasses:
FileSetWebPropertyConfigurator

public class AbstractBeanWebPropertyConfigurator
extends java.lang.Object
implements AntWebPropertyConfigurator

TODO

Since:
3.4

Constructor Summary
protected AbstractBeanWebPropertyConfigurator(java.lang.Class<?> beanType, java.lang.Iterable<java.lang.String> supportedProperties)
           
protected AbstractBeanWebPropertyConfigurator(java.lang.Class<?> beanType, java.lang.String... supportedProperties)
           
 
Method Summary
 java.lang.String forEdit(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> values, TaskDefinition taskDefinition)
           
 java.lang.String forView(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> values, TaskDefinition taskDefinition)
           
 java.util.Map<java.lang.String,java.lang.String> fromWeb(java.lang.String name, ActionParametersMap webParams)
           
 boolean supports(java.lang.Class<?> propertyType, java.lang.String propertyName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBeanWebPropertyConfigurator

protected AbstractBeanWebPropertyConfigurator(java.lang.Class<?> beanType,
                                              java.lang.Iterable<java.lang.String> supportedProperties)

AbstractBeanWebPropertyConfigurator

protected AbstractBeanWebPropertyConfigurator(java.lang.Class<?> beanType,
                                              java.lang.String... supportedProperties)
Method Detail

forView

public java.lang.String forView(java.lang.String name,
                                @NotNull
                                java.util.Map<java.lang.String,java.lang.String> values,
                                @Nullable
                                TaskDefinition taskDefinition)
Specified by:
forView in interface AntWebPropertyConfigurator

forEdit

public java.lang.String forEdit(java.lang.String name,
                                @NotNull
                                java.util.Map<java.lang.String,java.lang.String> values,
                                @Nullable
                                TaskDefinition taskDefinition)
Specified by:
forEdit in interface AntWebPropertyConfigurator

fromWeb

public java.util.Map<java.lang.String,java.lang.String> fromWeb(java.lang.String name,
                                                                ActionParametersMap webParams)
Specified by:
fromWeb in interface AntWebPropertyConfigurator

supports

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


Copyright © 2012 Atlassian. All Rights Reserved.