com.atlassian.bamboo.plugins.stash.rest.entity
Class StashRepositoryEntity

java.lang.Object
  extended by com.atlassian.bamboo.plugins.stash.rest.entity.StashRepositoryEntity
All Implemented Interfaces:
NameProvider

public class StashRepositoryEntity
extends Object
implements NameProvider


Field Summary
static com.google.common.base.Function<com.atlassian.stash.rest.client.api.entity.Repository,StashRepositoryEntity> FROM_REPOSITORY
           
 
Constructor Summary
StashRepositoryEntity(String slug, long id, String name, boolean isPublic, boolean hasCloneLink, String sshCloneUrl, StashProjectEntity project)
           
 
Method Summary
 long getId()
           
 String getName()
           
 String getSlug()
           
 String getSshCloneUrl()
           
 boolean hasCloneLink()
           
 boolean isPublic()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FROM_REPOSITORY

public static final com.google.common.base.Function<com.atlassian.stash.rest.client.api.entity.Repository,StashRepositoryEntity> FROM_REPOSITORY
Constructor Detail

StashRepositoryEntity

public StashRepositoryEntity(String slug,
                             long id,
                             String name,
                             boolean isPublic,
                             boolean hasCloneLink,
                             String sshCloneUrl,
                             StashProjectEntity project)
Method Detail

getSlug

public String getSlug()

getId

public long getId()

getName

public String getName()
Specified by:
getName in interface NameProvider

isPublic

public boolean isPublic()

hasCloneLink

public boolean hasCloneLink()

getSshCloneUrl

public String getSshCloneUrl()


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