Class Repo

    • Constructor Detail

      • Repo

        public Repo()
      • Repo

        public Repo​(java.util.Map<java.lang.String,​java.lang.Object> repoMap)
      • Repo

        public Repo​(java.lang.String name,
                    java.util.Date createdDate,
                    java.util.Date pushedDate)
      • Repo

        public Repo​(java.lang.String name,
                    java.lang.String ownerName,
                    java.util.Date createdDate,
                    java.util.Date pushedDate,
                    java.lang.String description)
    • Method Detail

      • getName

        public java.lang.String getName()
        Get the repo's name.
        Specified by:
        getName in interface IRepo
        Returns:
        name
      • getOwnerName

        public java.lang.String getOwnerName()
        Get the Perforce user name of the repo's owner.
        Specified by:
        getOwnerName in interface IRepo
        Returns:
        owner
      • getCreatedDate

        public java.util.Date getCreatedDate()
        Get the date the repo was created.
        Specified by:
        getCreatedDate in interface IRepo
        Returns:
        date
      • getPushedDate

        public java.util.Date getPushedDate()
        Get the date the repo was last pushed.
        Specified by:
        getPushedDate in interface IRepo
        Returns:
        date
      • getDescription

        public java.lang.String getDescription()
        Get the description associated with this repo.
        Specified by:
        getDescription in interface IRepo
        Returns:
        description
      • setDescription

        public void setDescription​(java.lang.String description)
        Set the description associated with this repo.
        Specified by:
        setDescription in interface IRepo
        Parameters:
        description - new repo description string.
      • getForkedFrom

        public java.lang.String getForkedFrom()
        Specified by:
        getForkedFrom in interface IRepo
        Returns:
        fork
      • setForkedFrom

        public void setForkedFrom​(java.lang.String forkedFrom)
        Specified by:
        setForkedFrom in interface IRepo
        Parameters:
        forkedFrom - fork
      • getDefaultBranch

        public java.lang.String getDefaultBranch()
        Specified by:
        getDefaultBranch in interface IRepo
        Returns:
        branch
      • setDefaultBranch

        public void setDefaultBranch​(java.lang.String defaultBranch)
        Specified by:
        setDefaultBranch in interface IRepo
        Parameters:
        defaultBranch - branch
      • getMirroredFrom

        public java.lang.String getMirroredFrom()
        Specified by:
        getMirroredFrom in interface IRepo
        Returns:
        mirror
      • setMirroredFrom

        public void setMirroredFrom​(java.lang.String mirroredFrom)
        Specified by:
        setMirroredFrom in interface IRepo
        Parameters:
        mirroredFrom - mirror