Class SpaceRepository
- java.lang.Object
-
- jetbrains.buildServer.serverSide.oauth.space.pojo.SpaceRepository
-
- All Implemented Interfaces:
ExternalRepository
public class SpaceRepository extends Object implements ExternalRepository
-
-
Constructor Summary
Constructors Constructor Description SpaceRepository(String id, String name, String url, boolean isPrivate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCloneUrl()
String
getHtmlUrl()
String
getHttpCloneUrl()
String
getId()
String
getName()
String
getSshCloneUrl()
String
getUrl()
boolean
isPrivate()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.serverSide.oauth.ExternalRepository
getDefaultBranch
-
-
-
-
Method Detail
-
getName
@NotNull public String getName()
- Specified by:
getName
in interfaceExternalRepository
- Returns:
- repository name
-
getUrl
@NotNull public String getUrl()
-
isPrivate
public boolean isPrivate()
- Specified by:
isPrivate
in interfaceExternalRepository
- Returns:
- true if it is known that the repository is private, false otherwise
-
getId
@NotNull public String getId()
- Specified by:
getId
in interfaceExternalRepository
- Returns:
- repository id as provided by VCS hosting
-
getHttpCloneUrl
@NotNull public String getHttpCloneUrl()
- Specified by:
getHttpCloneUrl
in interfaceExternalRepository
- Returns:
- HTTPS clone URL
-
getSshCloneUrl
@Nullable public String getSshCloneUrl()
- Specified by:
getSshCloneUrl
in interfaceExternalRepository
- Returns:
- SSH clone URL
-
getCloneUrl
@NotNull public String getCloneUrl()
- Specified by:
getCloneUrl
in interfaceExternalRepository
- Returns:
- HTTPS clone URL
-
getHtmlUrl
public String getHtmlUrl()
- Specified by:
getHtmlUrl
in interfaceExternalRepository
- Returns:
- Repository web page URL
-
-