Class Repository


  • public final class Repository
    extends Object
    metadata of a repository.
    • Constructor Detail

      • Repository

        public Repository()
    • Method Detail

      • url

        public String url()
        Get the url property: Url of repository.
        Returns:
        the url value.
      • withUrl

        public Repository withUrl​(String url)
        Set the url property: Url of repository.
        Parameters:
        url - the url value to set.
        Returns:
        the Repository object itself.
      • branch

        public String branch()
        Get the branch property: Branch name of repository.
        Returns:
        the branch value.
      • withBranch

        public Repository withBranch​(String branch)
        Set the branch property: Branch name of repository.
        Parameters:
        branch - the branch value to set.
        Returns:
        the Repository object itself.
      • displayUrl

        public String displayUrl()
        Get the displayUrl property: Display url of repository.
        Returns:
        the displayUrl value.
      • withDisplayUrl

        public Repository withDisplayUrl​(String displayUrl)
        Set the displayUrl property: Display url of repository.
        Parameters:
        displayUrl - the displayUrl value to set.
        Returns:
        the Repository object itself.
      • deploymentLogsUrl

        public String deploymentLogsUrl()
        Get the deploymentLogsUrl property: Url to access repository action logs.
        Returns:
        the deploymentLogsUrl value.
      • withDeploymentLogsUrl

        public Repository withDeploymentLogsUrl​(String deploymentLogsUrl)
        Set the deploymentLogsUrl property: Url to access repository action logs.
        Parameters:
        deploymentLogsUrl - the deploymentLogsUrl value to set.
        Returns:
        the Repository object itself.
      • pathMapping

        public List<ContentPathMap> pathMapping()
        Get the pathMapping property: Dictionary of source control content type and path mapping.
        Returns:
        the pathMapping value.
      • withPathMapping

        public Repository withPathMapping​(List<ContentPathMap> pathMapping)
        Set the pathMapping property: Dictionary of source control content type and path mapping.
        Parameters:
        pathMapping - the pathMapping value to set.
        Returns:
        the Repository object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.