Package de.xima.fc.project.mgmt.impex
Class ProjectExportSpec.builder
- java.lang.Object
-
- de.xima.fc.project.mgmt.impex.ProjectExportSpec.builder
-
- Enclosing class:
- ProjectExportSpec
public static class ProjectExportSpec.builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectExportSpecbuild()ProjectExportSpec.builderdependencies(List<ProjectExportDependency> dependencies)Optional list of additional dependencies to include in the export if thedependencyInclusionStrategyis set toProjectExportSpec.DependencyInclusionStrategy.ONLY_SPECIFIED.ProjectExportSpec.builderdependencyInclusionStrategy(ProjectExportSpec.DependencyInclusionStrategy dependencyInclusionStrategy)Determines which dependencies of the project should be included in the export.ProjectExportSpec.builderpassword(char[] password)Password to encrypt the exported project data.ProjectExportSpec.builderprojectId(Long projectId)The ID of the project to be exported.StringtoString()
-
-
-
Method Detail
-
projectId
public ProjectExportSpec.builder projectId(Long projectId)
The ID of the project to be exported.- Returns:
this.
-
password
public ProjectExportSpec.builder password(char[] password)
Password to encrypt the exported project data. May be null or empty, in which case no encryption is applied.- Returns:
this.
-
dependencyInclusionStrategy
public ProjectExportSpec.builder dependencyInclusionStrategy(ProjectExportSpec.DependencyInclusionStrategy dependencyInclusionStrategy)
Determines which dependencies of the project should be included in the export.- Returns:
this.
-
dependencies
public ProjectExportSpec.builder dependencies(List<ProjectExportDependency> dependencies)
Optional list of additional dependencies to include in the export if thedependencyInclusionStrategyis set toProjectExportSpec.DependencyInclusionStrategy.ONLY_SPECIFIED.- Returns:
this.
-
build
public ProjectExportSpec build()
-
-