org.jfrog.build.extractor.clientConfiguration.util
Class DeploymentUrlUtils

java.lang.Object
  extended by org.jfrog.build.extractor.clientConfiguration.util.DeploymentUrlUtils

public abstract class DeploymentUrlUtils
extends java.lang.Object


Constructor Summary
DeploymentUrlUtils()
           
 
Method Summary
static java.lang.String buildMatrixParamsString(com.google.common.collect.ArrayListMultimap<java.lang.String,java.lang.String> matrixParams)
           
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentUrlUtils

public DeploymentUrlUtils()
Method Detail

getDeploymentUrl

public static java.lang.String getDeploymentUrl(java.lang.String artifactoryUrl,
                                                java.util.Properties properties)
                                         throws java.io.UnsupportedEncodingException
Calculate the full Artifactory deployment URL which includes the matrix params appended to it. see ClientProperties.PROP_DEPLOY_PARAM_PROP_PREFIX for the property prefix that this method takes into account.

Parameters:
artifactoryUrl - The Artifactory upload URL.
properties - The properties to append to the Artifactory URL.
Returns:
The generated Artifactory URL with the matrix params appended to it.
Throws:
java.io.UnsupportedEncodingException

buildMatrixParamsString

public static java.lang.String buildMatrixParamsString(com.google.common.collect.ArrayListMultimap<java.lang.String,java.lang.String> matrixParams)
                                                throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException