com.atlassian.bamboo.ant.task
Class PropertyConfiguratorUtils

java.lang.Object
  extended by com.atlassian.bamboo.ant.task.PropertyConfiguratorUtils

public final class PropertyConfiguratorUtils
extends java.lang.Object

Utility for property configurators.

Since:
3.4

Method Summary
static java.util.Map<java.lang.String,java.lang.String> getRelevantProperties(java.lang.String propertyName, java.util.Map<java.lang.String,java.lang.String> properties)
           
static java.util.Map<java.lang.String,java.lang.String> getRelevantPropertiesWithoutPrefix(java.lang.String propertyName, java.util.Map<java.lang.String,java.lang.String> properties)
           
static java.util.Map<java.lang.String,java.lang.String> prefixKeys(java.lang.String prefix, java.util.Map<java.lang.String,java.lang.String> original)
           
static com.google.common.base.Function<java.lang.String,java.lang.String> prefixWith(java.lang.String baseProperty)
           
static java.util.Map<java.lang.String,java.lang.String> removeSuffix(java.lang.String prefix, java.lang.String suffix, java.util.Map<java.lang.String,java.lang.String> original)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRelevantProperties

public static java.util.Map<java.lang.String,java.lang.String> getRelevantProperties(java.lang.String propertyName,
                                                                                     java.util.Map<java.lang.String,java.lang.String> properties)

getRelevantPropertiesWithoutPrefix

public static java.util.Map<java.lang.String,java.lang.String> getRelevantPropertiesWithoutPrefix(java.lang.String propertyName,
                                                                                                  java.util.Map<java.lang.String,java.lang.String> properties)

prefixWith

public static com.google.common.base.Function<java.lang.String,java.lang.String> prefixWith(java.lang.String baseProperty)

prefixKeys

public static java.util.Map<java.lang.String,java.lang.String> prefixKeys(java.lang.String prefix,
                                                                          java.util.Map<java.lang.String,java.lang.String> original)

removeSuffix

public static java.util.Map<java.lang.String,java.lang.String> removeSuffix(java.lang.String prefix,
                                                                            java.lang.String suffix,
                                                                            java.util.Map<java.lang.String,java.lang.String> original)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.