Interface IRepo

All Superinterfaces:
IServerResource
All Known Implementing Classes:
Repo

public interface IRepo extends IServerResource
  • 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

      void setDescription(String description)
      Set the description associated with this repo.
      Parameters:
      description - new repo description string.
    • getForkedFrom

      String getForkedFrom()
      Returns:
      fork
    • setForkedFrom

      void setForkedFrom(String forkedFrom)
      Parameters:
      forkedFrom - fork
    • getDefaultBranch

      String getDefaultBranch()
      Returns:
      branch
    • setDefaultBranch

      void setDefaultBranch(String defaultBranch)
      Parameters:
      defaultBranch - branch
    • getMirroredFrom

      String getMirroredFrom()
      Returns:
      mirror
    • setMirroredFrom

      void setMirroredFrom(String mirroredFrom)
      Parameters:
      mirroredFrom - mirror