Class WorkspaceRepositoryConfiguration


  • public final class WorkspaceRepositoryConfiguration
    extends Object
    Git integration settings.
    • Constructor Detail

      • WorkspaceRepositoryConfiguration

        public WorkspaceRepositoryConfiguration()
    • Method Detail

      • getType

        public String getType()
        Get the type property: Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration.
        Returns:
        the type value.
      • setType

        public WorkspaceRepositoryConfiguration setType​(String type)
        Set the type property: Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration.
        Parameters:
        type - the type value to set.
        Returns:
        the WorkspaceRepositoryConfiguration object itself.
      • getHostName

        public String getHostName()
        Get the hostName property: GitHub Enterprise host name. For example: https://github.mydomain.com.
        Returns:
        the hostName value.
      • setHostName

        public WorkspaceRepositoryConfiguration setHostName​(String hostName)
        Set the hostName property: GitHub Enterprise host name. For example: https://github.mydomain.com.
        Parameters:
        hostName - the hostName value to set.
        Returns:
        the WorkspaceRepositoryConfiguration object itself.
      • getAccountName

        public String getAccountName()
        Get the accountName property: Account name.
        Returns:
        the accountName value.
      • setAccountName

        public WorkspaceRepositoryConfiguration setAccountName​(String accountName)
        Set the accountName property: Account name.
        Parameters:
        accountName - the accountName value to set.
        Returns:
        the WorkspaceRepositoryConfiguration object itself.
      • getProjectName

        public String getProjectName()
        Get the projectName property: VSTS project name.
        Returns:
        the projectName value.
      • setProjectName

        public WorkspaceRepositoryConfiguration setProjectName​(String projectName)
        Set the projectName property: VSTS project name.
        Parameters:
        projectName - the projectName value to set.
        Returns:
        the WorkspaceRepositoryConfiguration object itself.
      • getRepositoryName

        public String getRepositoryName()
        Get the repositoryName property: Repository name.
        Returns:
        the repositoryName value.
      • setRepositoryName

        public WorkspaceRepositoryConfiguration setRepositoryName​(String repositoryName)
        Set the repositoryName property: Repository name.
        Parameters:
        repositoryName - the repositoryName value to set.
        Returns:
        the WorkspaceRepositoryConfiguration object itself.
      • getCollaborationBranch

        public String getCollaborationBranch()
        Get the collaborationBranch property: Collaboration branch.
        Returns:
        the collaborationBranch value.
      • setCollaborationBranch

        public WorkspaceRepositoryConfiguration setCollaborationBranch​(String collaborationBranch)
        Set the collaborationBranch property: Collaboration branch.
        Parameters:
        collaborationBranch - the collaborationBranch value to set.
        Returns:
        the WorkspaceRepositoryConfiguration object itself.
      • getRootFolder

        public String getRootFolder()
        Get the rootFolder property: Root folder to use in the repository.
        Returns:
        the rootFolder value.
      • setRootFolder

        public WorkspaceRepositoryConfiguration setRootFolder​(String rootFolder)
        Set the rootFolder property: Root folder to use in the repository.
        Parameters:
        rootFolder - the rootFolder value to set.
        Returns:
        the WorkspaceRepositoryConfiguration object itself.
      • getLastCommitId

        public String getLastCommitId()
        Get the lastCommitId property: The last commit ID.
        Returns:
        the lastCommitId value.
      • setLastCommitId

        public WorkspaceRepositoryConfiguration setLastCommitId​(String lastCommitId)
        Set the lastCommitId property: The last commit ID.
        Parameters:
        lastCommitId - the lastCommitId value to set.
        Returns:
        the WorkspaceRepositoryConfiguration object itself.
      • getTenantId

        public UUID getTenantId()
        Get the tenantId property: The VSTS tenant ID.
        Returns:
        the tenantId value.
      • setTenantId

        public WorkspaceRepositoryConfiguration setTenantId​(UUID tenantId)
        Set the tenantId property: The VSTS tenant ID.
        Parameters:
        tenantId - the tenantId value to set.
        Returns:
        the WorkspaceRepositoryConfiguration object itself.
      • getClientId

        public String getClientId()
        Get the clientId property: GitHub bring your own app client id.
        Returns:
        the clientId value.
      • setClientId

        public WorkspaceRepositoryConfiguration setClientId​(String clientId)
        Set the clientId property: GitHub bring your own app client id.
        Parameters:
        clientId - the clientId value to set.
        Returns:
        the WorkspaceRepositoryConfiguration object itself.
      • getClientSecret

        public GitHubClientSecret getClientSecret()
        Get the clientSecret property: GitHub bring your own app client secret information.
        Returns:
        the clientSecret value.
      • setClientSecret

        public WorkspaceRepositoryConfiguration setClientSecret​(GitHubClientSecret clientSecret)
        Set the clientSecret property: GitHub bring your own app client secret information.
        Parameters:
        clientSecret - the clientSecret value to set.
        Returns:
        the WorkspaceRepositoryConfiguration object itself.