public class Repo extends ServerResource implements IRepo
refreshable, server, updateable| Constructor and Description |
|---|
Repo() |
Repo(Map<String,Object> repoMap) |
Repo(String name,
Date createdDate,
Date pushedDate) |
Repo(String name,
String ownerName,
Date createdDate,
Date pushedDate,
String description) |
| Modifier and Type | Method and Description |
|---|---|
Date |
getCreatedDate()
Get the date the repo was created.
|
String |
getDefaultBranch() |
String |
getDescription()
Get the description associated with this repo.
|
String |
getForkedFrom() |
String |
getMirroredFrom() |
String |
getName()
Get the repo's name.
|
String |
getOwnerName()
Get the Perforce user name of the repo's owner.
|
Date |
getPushedDate()
Get the date the repo was last pushed.
|
void |
setDefaultBranch(String defaultBranch) |
void |
setDescription(String description)
Set the description associated with this repo.
|
void |
setForkedFrom(String forkedFrom) |
void |
setMirroredFrom(String mirroredFrom) |
canRefresh, canUpdate, complete, refresh, setRefreshable, setServer, update, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanRefresh, canUpdate, refresh, setServer, update, update, updatepublic String getOwnerName()
getOwnerName in interface IRepopublic Date getCreatedDate()
getCreatedDate in interface IRepopublic Date getPushedDate()
getPushedDate in interface IRepopublic String getDescription()
getDescription in interface IRepopublic void setDescription(String description)
setDescription in interface IRepodescription - new repo description string.public String getForkedFrom()
getForkedFrom in interface IRepopublic void setForkedFrom(String forkedFrom)
setForkedFrom in interface IRepopublic String getDefaultBranch()
getDefaultBranch in interface IRepopublic void setDefaultBranch(String defaultBranch)
setDefaultBranch in interface IRepopublic String getMirroredFrom()
getMirroredFrom in interface IRepopublic void setMirroredFrom(String mirroredFrom)
setMirroredFrom in interface IRepoCopyright © 2017 Perforce Software. All Rights Reserved.