Package com.xebialabs.xlrelease.variable
Class VariableHelper$
java.lang.Object
com.xebialabs.xlrelease.variable.VariableHelper$
- All Implemented Interfaces:
VariableCollector,VariableReplacementHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VariableHelper$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckVariable(Variable variable) voidcheckVariableIdsAreTheSame(String requestVariableId, String bodyVariableId) voidcheckVariables(List<Variable> variables) cloneVariable(Variable variable, String newKey) booleancontainsOnlyVariable(String input) booleancontainsVariables(String input) fillVariableValues(List<Variable> target, List<Variable> source) filterOutBlankStringVariables(Map<String, String> variables) filterOutBlankValues(Map<String, ValueWithInterpolation> variables) formatVariableIfNeeded(String variableName) getAllReleaseVariablesByKeys(Release release) getExternalVariables(List<Variable> variables) indexByKey(List<Variable> variables) booleanisCiPropertyVariable(String variableName) Shows if a variable looks like a ${release.something}.booleanisFolderVariable(String variableName) booleanisGlobalOrFolderVariable(String variableName) booleanisGlobalVariable(String variableName) booleansafeReplace(String input, String key, String replacement) withoutVariableSyntax(String variableKey) withVariableSyntax(String variableName) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.xebialabs.xlrelease.variable.VariableCollector
collectVariables, collectVariablesFromValue, collectVariablesInScope, getUsedExternalPasswordVariables, getUsedStringVariables, getUsedVariables, getUsedVariables$default$2Methods inherited from interface com.xebialabs.xlrelease.variable.VariableReplacementHelper
freezeUnresolvedVariable, getPasswordVariableValuesAsStrings, getVariableValuesAsStrings, getVariableValuesAsStrings, replaceAll, replaceAll, replaceAllWithInterpolation, replaceAllWithInterpolation, resolveInterpolatableVariables
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
VariableHelper$
public VariableHelper$()
-
-
Method Details
-
VARIABLE_NAME_PATTERN
-
safeReplace
-
isCiPropertyVariable
Shows if a variable looks like a ${release.something}. Note that it will return "true" also for names like ${release.custom} for whichcom.xebialabs.xlrelease.domain.variables.reference.ReleasePropertyVariableKey.isReleasePropertyVariableKey()would return "false". We discourage using such variables but they may exist in older installations.- Parameters:
variableName- (undocumented)- Returns:
- (undocumented)
-
isGlobalVariable
-
isFolderVariable
-
isGlobalOrFolderVariable
-
containsVariables
-
formatVariableIfNeeded
-
containsOnlyVariable
-
withVariableSyntax
-
withoutVariableSyntax
-
checkVariable
-
checkVariables
-
getExternalVariables
-
indexByKey
-
checkVariableIdsAreTheSame
-
isGlobalVariableId
-
fillVariableValues
-
cloneVariable
-
filterOutBlankStringVariables
-
filterOutBlankValues
public Map<String,ValueWithInterpolation> filterOutBlankValues(Map<String, ValueWithInterpolation> variables) -
getAllReleaseVariablesByKeys
-
toString
-