com.atlassian.bamboo.plugins.hg
Class DefaultRepositoryUrlProvider

java.lang.Object
  extended by com.atlassian.bamboo.plugins.hg.DefaultRepositoryUrlProvider
All Implemented Interfaces:
HgWebRepositoryUrlProvider, Serializable

public class DefaultRepositoryUrlProvider
extends Object
implements HgWebRepositoryUrlProvider

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.bamboo.plugins.hg.HgWebRepositoryUrlProvider
HgWebRepositoryUrlProvider.None
 
Constructor Summary
DefaultRepositoryUrlProvider()
           
 
Method Summary
 String getKey()
           
 String getName()
           
 String getUrlForChangeset(String file, String revision, URI repositoryUri)
           
 String getUrlForFile(String file, String revision, URI repositoryUri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRepositoryUrlProvider

public DefaultRepositoryUrlProvider()
Method Detail

getKey

@NotNull
public String getKey()
Specified by:
getKey in interface HgWebRepositoryUrlProvider

getName

@NotNull
public String getName()
Specified by:
getName in interface HgWebRepositoryUrlProvider

getUrlForFile

@NotNull
public String getUrlForFile(String file,
                                    String revision,
                                    URI repositoryUri)
Specified by:
getUrlForFile in interface HgWebRepositoryUrlProvider

getUrlForChangeset

@NotNull
public String getUrlForChangeset(String file,
                                         String revision,
                                         URI repositoryUri)
Specified by:
getUrlForChangeset in interface HgWebRepositoryUrlProvider


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.