com.atlassian.bamboo.ant.task.property
Class SimpleFieldPropertyConfigurator
java.lang.Object
com.atlassian.bamboo.ant.task.property.AbstractPropertyManipulator
com.atlassian.bamboo.ant.task.property.SimpleFieldPropertyConfigurator
- All Implemented Interfaces:
- AntPropertyManipulator, AntWebPropertyConfigurator
- Direct Known Subclasses:
- BooleanWebPropertyConfigurator, FileWebPropertyConfigurator, NameEntryWebPropertyConfigurator, PasswordWebPropertyConfigurator, PrimitiveNumberWebProperyConfigurator, StringWebPropertyConfigurator
public class SimpleFieldPropertyConfigurator
- extends AbstractPropertyManipulator
- implements AntWebPropertyConfigurator
Property configurator for simple fields stored as strings.
- Since:
- 3.4
Method Summary |
protected java.util.Map<java.lang.String,java.lang.Object> |
createContext(com.atlassian.plugin.ModuleDescriptor<?> owningDescriptor,
java.lang.String name,
java.lang.String value)
|
protected java.lang.String |
editResourceName()
|
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)
|
protected java.lang.String |
getDefaultDescription()
|
protected I18nBean |
getI18nBean()
|
protected java.lang.String |
viewResourceName()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pluginAccessor
protected final com.atlassian.plugin.PluginAccessor pluginAccessor
templateRenderer
protected final TemplateRenderer templateRenderer
bambooAuthenticationContext
protected final BambooAuthenticationContext bambooAuthenticationContext
SimpleFieldPropertyConfigurator
protected SimpleFieldPropertyConfigurator(com.atlassian.plugin.PluginAccessor pluginAccessor,
TemplateRenderer templateRenderer,
BambooAuthenticationContext bambooAuthenticationContext,
java.lang.Class<?> first,
java.lang.Class<?>... rest)
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
createContext
protected java.util.Map<java.lang.String,java.lang.Object> createContext(@Nullable
com.atlassian.plugin.ModuleDescriptor<?> owningDescriptor,
java.lang.String name,
java.lang.String value)
viewResourceName
protected java.lang.String viewResourceName()
editResourceName
protected java.lang.String editResourceName()
getDefaultDescription
protected java.lang.String getDefaultDescription()
getI18nBean
protected final I18nBean getI18nBean()
Copyright © 2012 Atlassian. All Rights Reserved.