org.apache.maven.plugin.jira
Class UrlBuilder

java.lang.Object
  extended by org.apache.maven.plugin.jira.UrlBuilder

public class UrlBuilder
extends Object

Builder for a URL which build up of host part, a context part and 0 or more parameters.

Since:
2.8
Version:
$Id: UrlBuilder.java 1579078 2014-03-18 22:44:41Z dennisl $
Author:
ton.swieb@finalist.com

Constructor Summary
UrlBuilder(String url, String context)
           
 
Method Summary
 UrlBuilder addParameter(String key, int value)
           
 UrlBuilder addParameter(String key, String value)
           
 String build()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlBuilder

public UrlBuilder(String url,
                  String context)
Method Detail

addParameter

public UrlBuilder addParameter(String key,
                               String value)

addParameter

public UrlBuilder addParameter(String key,
                               int value)

build

public String build()


Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.