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.Date
getCreatedDate()
Get the date the repo was created.java.lang.String
getDefaultBranch()
java.lang.String
getDescription()
Get the description associated with this repo.java.lang.String
getForkedFrom()
java.lang.String
getMirroredFrom()
java.lang.String
getName()
Get the repo's name.java.lang.String
getOwnerName()
Get the Perforce user name of the repo's owner.java.util.Date
getPushedDate()
Get the date the repo was last pushed.void
setDefaultBranch(java.lang.String defaultBranch)
void
setDescription(java.lang.String description)
Set the description associated with this repo.void
setForkedFrom(java.lang.String forkedFrom)
void
setMirroredFrom(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
-
-