Package com.perforce.p4java.core
Interface IRepo
- All Superinterfaces:
IServerResource
- All Known Implementing Classes:
Repo
-
Method Summary
Modifier and TypeMethodDescriptionGet the date the repo was created.Get the description associated with this repo.getName()Get the repo's name.Get the Perforce user name of the repo's owner.Get the date the repo was last pushed.voidsetDefaultBranch(String defaultBranch) voidsetDescription(String description) Set the description associated with this repo.voidsetForkedFrom(String forkedFrom) voidsetMirroredFrom(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 Details
-
getName
String getName()Get the repo's name.- Returns:
- name
-
getOwnerName
String getOwnerName()Get the Perforce user name of the repo's owner.- Returns:
- owner
-
getCreatedDate
Date getCreatedDate()Get the date the repo was created.- Returns:
- date
-
getPushedDate
Date getPushedDate()Get the date the repo was last pushed.- Returns:
- date
-
getDescription
String getDescription()Get the description associated with this repo.- Returns:
- description
-
setDescription
Set the description associated with this repo.- Parameters:
description- new repo description string.
-
getForkedFrom
String getForkedFrom()- Returns:
- fork
-
setForkedFrom
- Parameters:
forkedFrom- fork
-
getDefaultBranch
String getDefaultBranch()- Returns:
- branch
-
setDefaultBranch
- Parameters:
defaultBranch- branch
-
getMirroredFrom
String getMirroredFrom()- Returns:
- mirror
-
setMirroredFrom
- Parameters:
mirroredFrom- mirror
-