Class StashRepositoryEntity
- java.lang.Object
-
- com.atlassian.bamboo.plugins.stash.rest.entity.StashRepositoryEntity
-
- All Implemented Interfaces:
NameProvider
public class StashRepositoryEntity extends Object implements NameProvider
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.common.base.Function<com.atlassian.stash.rest.client.api.entity.Repository,StashRepositoryEntity>
FROM_REPOSITORY
-
Constructor Summary
Constructors Constructor Description StashRepositoryEntity(String slug, long id, String name, boolean isPublic, boolean hasCloneLink, String sshCloneUrl, StashProjectEntity project)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getId()
String
getName()
String
getSlug()
String
getSshCloneUrl()
boolean
hasCloneLink()
boolean
isPublic()
-
-
-
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 interfaceNameProvider
-
isPublic
public boolean isPublic()
-
hasCloneLink
public boolean hasCloneLink()
-
getSshCloneUrl
public String getSshCloneUrl()
-
-