public abstract class DeploymentUrlUtils
extends java.lang.Object
| Constructor and Description |
|---|
DeploymentUrlUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
buildMatrixParamsString(com.google.common.collect.ArrayListMultimap<java.lang.String,java.lang.String> matrixParams,
boolean encodeProperties) |
static java.lang.String |
encodePath(java.lang.String unescaped) |
static java.lang.String |
getDeploymentUrl(java.lang.String artifactoryUrl,
java.util.Properties properties)
Calculate the full Artifactory deployment URL which includes the matrix params appended to it.
|
public static java.lang.String getDeploymentUrl(java.lang.String artifactoryUrl,
java.util.Properties properties)
throws java.io.UnsupportedEncodingException
ClientProperties.PROP_DEPLOY_PARAM_PROP_PREFIX for the property prefix that this method takes into account.artifactoryUrl - The Artifactory upload URL.properties - The properties to append to the Artifactory URL.java.io.UnsupportedEncodingExceptionpublic static java.lang.String encodePath(java.lang.String unescaped)
public static java.lang.String buildMatrixParamsString(com.google.common.collect.ArrayListMultimap<java.lang.String,java.lang.String> matrixParams,
boolean encodeProperties)
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException