Package com.comsol.api.database.param
Interface CreateRepositoryParamGenerator
-
- All Superinterfaces:
CreateRepositoryParam,DatabaseApiValue
public interface CreateRepositoryParamGenerator extends CreateRepositoryParam
A generator for input parameters used when creating a new repository in a Model Manager database.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateRepositoryParamGeneratorwithCommitComment(java.lang.String commitComment)Set the commit comment to use for the default branch that will be automatically created for the new repository.CreateRepositoryParamGeneratorwithDefaultBranchItemSearchIndexingMode(ItemSearchIndexingMode defaultBranchItemSearchIndexingMode)Set the mode used when indexing search data for the latest item versions in the initial, default, branch.CreateRepositoryParamGeneratorwithDefaultBranchName(java.lang.String name)Set the name for the default branch to be automatically created for the new repository.CreateRepositoryParamGeneratorwithName(java.lang.String name)Set the name of the new repository.-
Methods inherited from interface com.comsol.api.database.param.CreateRepositoryParam
commitComment, defaultBranchItemSearchIndexingMode, defaultBranchName, name
-
-
-
-
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 useItemSearchIndexingMode.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.
-
-