Interface CreateRepositoryParamGenerator

    • Method Detail

      • withName

        CreateRepositoryParamGenerator withName​(java.lang.String name)
        Set the name of the new repository.
        Parameters:
        name - The name of the new repository.
        Returns:
        A copy of this instance.
      • withDefaultBranchName

        CreateRepositoryParamGenerator withDefaultBranchName​(java.lang.String name)
        Set the name for the default branch to be automatically created for the new repository. A default name will be used if this field has not been set.
        Parameters:
        name - The name of the initial, default, branch for the new repository.
        Returns:
        A copy of this instance.
      • withDefaultBranchItemSearchIndexingMode

        CreateRepositoryParamGenerator withDefaultBranchItemSearchIndexingMode​(ItemSearchIndexingMode defaultBranchItemSearchIndexingMode)
        Set the mode used when indexing search data for the latest item versions in the initial, default, branch. Skip to use ItemSearchIndexingMode.ITEM_FIELDS_AND_CONTENTS.
        Parameters:
        defaultBranchItemSearchIndexingMode - The mode used when indexing search data for the latest item versions in the initial, default, branch.
        Returns:
        A copy of this instance.
      • withCommitComment

        CreateRepositoryParamGenerator withCommitComment​(java.lang.String commitComment)
        Set the commit comment to use for the default branch that will be automatically created for the new repository. May be null.
        Parameters:
        commitComment - The commit comment to use for the default branch that will be automatically created for the new repository. May be null.
        Returns:
        A copy of this instance.