Package de.xima.fc.project.mgmt.impex
Class ProjectExportSpec
- java.lang.Object
-
- de.xima.fc.project.mgmt.impex.ProjectExportSpec
-
- All Implemented Interfaces:
Serializable
public final class ProjectExportSpec extends Object implements Serializable
Specification for exporting a project, including the project ID and any additional dependencies to include.- Since:
- 20.11.25
- Author:
- Norman Lorenz
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProjectExportSpec.builderstatic classProjectExportSpec.DependencyInclusionStrategy
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProjectExportSpec.builderbuilder()booleanequals(Object o)List<ProjectExportDependency>getDependencies()Optional list of additional dependencies to include in the export if thedependencyInclusionStrategyis set toProjectExportSpec.DependencyInclusionStrategy.ONLY_SPECIFIED.ProjectExportSpec.DependencyInclusionStrategygetDependencyInclusionStrategy()Determines which dependencies of the project should be included in the export.char[]getPassword()Password to encrypt the exported project data.LonggetProjectId()The ID of the project to be exported.inthashCode()ProjectExportSpec.buildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static ProjectExportSpec.builder builder()
-
toBuilder
public ProjectExportSpec.builder toBuilder()
-
getProjectId
public Long getProjectId()
The ID of the project to be exported.
-
getPassword
public char[] getPassword()
Password to encrypt the exported project data. May be null or empty, in which case no encryption is applied.
-
getDependencyInclusionStrategy
public ProjectExportSpec.DependencyInclusionStrategy getDependencyInclusionStrategy()
Determines which dependencies of the project should be included in the export.
-
getDependencies
public List<ProjectExportDependency> getDependencies()
Optional list of additional dependencies to include in the export if thedependencyInclusionStrategyis set toProjectExportSpec.DependencyInclusionStrategy.ONLY_SPECIFIED.
-
-