Package com.perforce.p4java.core
Interface IRepo
-
- All Superinterfaces:
IServerResource
- All Known Implementing Classes:
Repo
public interface IRepo extends IServerResource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.DategetCreatedDate()Get the date the repo was created.java.lang.StringgetDefaultBranch()java.lang.StringgetDescription()Get the description associated with this repo.java.lang.StringgetForkedFrom()java.lang.StringgetMirroredFrom()java.lang.StringgetName()Get the repo's name.java.lang.StringgetOwnerName()Get the Perforce user name of the repo's owner.java.util.DategetPushedDate()Get the date the repo was last pushed.voidsetDefaultBranch(java.lang.String defaultBranch)voidsetDescription(java.lang.String description)Set the description associated with this repo.voidsetForkedFrom(java.lang.String forkedFrom)voidsetMirroredFrom(java.lang.String mirroredFrom)-
Methods inherited from interface com.perforce.p4java.core.IServerResource
canRefresh, canUpdate, clearRawFields, complete, getRawField, getRawFields, hasRawField, refresh, setRawField, setRawFields, setServer, update, update, update
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
Get the repo's name.- Returns:
- name
-
getOwnerName
java.lang.String getOwnerName()
Get the Perforce user name of the repo's owner.- Returns:
- owner
-
getCreatedDate
java.util.Date getCreatedDate()
Get the date the repo was created.- Returns:
- date
-
getPushedDate
java.util.Date getPushedDate()
Get the date the repo was last pushed.- Returns:
- date
-
getDescription
java.lang.String getDescription()
Get the description associated with this repo.- Returns:
- description
-
setDescription
void setDescription(java.lang.String description)
Set the description associated with this repo.- Parameters:
description- new repo description string.
-
getForkedFrom
java.lang.String getForkedFrom()
- Returns:
- fork
-
setForkedFrom
void setForkedFrom(java.lang.String forkedFrom)
- Parameters:
forkedFrom- fork
-
getDefaultBranch
java.lang.String getDefaultBranch()
- Returns:
- branch
-
setDefaultBranch
void setDefaultBranch(java.lang.String defaultBranch)
- Parameters:
defaultBranch- branch
-
getMirroredFrom
java.lang.String getMirroredFrom()
- Returns:
- mirror
-
setMirroredFrom
void setMirroredFrom(java.lang.String mirroredFrom)
- Parameters:
mirroredFrom- mirror
-
-