com.atlassian.studio.confluence.transformer
Class LinkBuilder

java.lang.Object
  extended by com.atlassian.studio.confluence.transformer.LinkBuilder

public class LinkBuilder
extends java.lang.Object


Field Summary
protected  java.lang.String[] groups
           
protected  java.lang.String key
           
protected  java.lang.String url
           
 
Constructor Summary
LinkBuilder(java.lang.String urlPattern)
           
 
Method Summary
 java.lang.String build()
           
 LinkBuilder setGroups(java.lang.String... groups)
           
 LinkBuilder setKey(java.lang.String key)
           
 LinkBuilder setUrl(java.lang.String url)
           
protected  java.lang.String substituteUrlAndKey(java.lang.String urlPattern, java.lang.String url, java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

protected java.lang.String url

key

protected java.lang.String key

groups

protected java.lang.String[] groups
Constructor Detail

LinkBuilder

public LinkBuilder(java.lang.String urlPattern)
Method Detail

setUrl

public LinkBuilder setUrl(java.lang.String url)

setKey

public LinkBuilder setKey(java.lang.String key)

setGroups

public LinkBuilder setGroups(java.lang.String... groups)

build

public java.lang.String build()

substituteUrlAndKey

protected java.lang.String substituteUrlAndKey(java.lang.String urlPattern,
                                               java.lang.String url,
                                               java.lang.String key)


Copyright © 2003-2014 Atlassian. All Rights Reserved.