com.atlassian.bamboo.ant.task
Class PropertyConfiguratorUtils
java.lang.Object
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 |
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 © 2012 Atlassian. All Rights Reserved.