Class 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 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).