Package jetbrains.buildServer.serverSide
Class ProjectCopyParameters
- java.lang.Object
-
- jetbrains.buildServer.serverSide.ProjectCopyParameters
-
public class ProjectCopyParameters extends java.lang.Object
Project copying parameters.Value object. When has initialized, it values could not be changed.
- Since:
- 8.0
- Author:
- Leonid Bushuev from JetBrains
-
-
Constructor Summary
Constructors Constructor Description ProjectCopyParameters(java.lang.String newProjectName, java.util.Map<java.lang.String,java.lang.String> externalIdentifiersMap, CopyOptions copyOptions)
Creates a project copying parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CopyOptions
getCopyOptions()
Copy options.java.util.Map<java.lang.String,java.lang.String>
getExternalIdentifiersMap()
Map of original to new external identifiers.java.lang.String
getNewProjectName()
Name of the new (upper-level) project.boolean
isOptionSet(CopyOptions.Option option)
-
-
-
Constructor Detail
-
ProjectCopyParameters
public ProjectCopyParameters(@NotNull java.lang.String newProjectName, @NotNull java.util.Map<java.lang.String,java.lang.String> externalIdentifiersMap, @NotNull CopyOptions copyOptions)
Creates a project copying parameters.- Parameters:
newProjectName
- name of the new project.externalIdentifiersMap
- map of original to new external identifiers.copyOptions
- what-to-copy options.
-
-
Method Detail
-
getNewProjectName
@NotNull public java.lang.String getNewProjectName()
Name of the new (upper-level) project.- Returns:
- see above
-
getExternalIdentifiersMap
@NotNull public java.util.Map<java.lang.String,java.lang.String> getExternalIdentifiersMap()
Map of original to new external identifiers.- Returns:
- an immutable map of original external id to a new external id.
-
getCopyOptions
@NotNull public CopyOptions getCopyOptions()
Copy options.- Returns:
- the copy options (changing the result of this function doesn't affect of the class value).
-
isOptionSet
public boolean isOptionSet(@NotNull CopyOptions.Option option)
-
-