com.atlassian.bamboo.variable
Class VariableUtils
java.lang.Object
com.atlassian.bamboo.variable.VariableUtils
public class VariableUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
identifiersToContextMap
public static Map<String,VariableDefinitionContext> identifiersToContextMap(@NotNull
Iterable<? extends VariableDefinitionIdentifier> input)
containsVariableUsage
public static boolean containsVariableUsage(@NotNull
String text)
- Returns true if the given text contains variable usages from any namespace.
Variable usage consists of variable name, preceded by the namespace (usually "bamboo"), put between "${" and
"}".
Example variable usages:
- ${bamboo.my.custom.variable}
- ${bamboo.functionalTestOptions}
- ${system.M2_HOME}
- Parameters:
text
- text to verify
- Returns:
- true, if text contains variable usages, false otherwise
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.