Interface IExtensionProjectManager

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String SERVICE_NAME
      Service name.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.core.resources.IProject create​(String projectName, Version version, Configuration configuration, org.eclipse.core.resources.IProject parent, org.eclipse.core.runtime.IProgressMonitor monitor)
      Creates V8 configuration extension project in workspace: Creates actual workspace project with the given name.
      org.eclipse.core.resources.IProject create​(String projectName, Path projectPath, Version version, Configuration configuration, org.eclipse.core.resources.IProject parent, org.eclipse.core.runtime.IProgressMonitor monitor)
      Creates V8 configuration extension project: Creates actual project with the given name in the given path.
    • Field Detail

      • SERVICE_NAME

        static final String SERVICE_NAME
        Service name. May be used in service recovery or service lifecycle orchestration.
        See Also:
        Constant Field Values
    • Method Detail

      • create

        org.eclipse.core.resources.IProject create​(String projectName,
                                                   Version version,
                                                   Configuration configuration,
                                                   org.eclipse.core.resources.IProject parent,
                                                   org.eclipse.core.runtime.IProgressMonitor monitor)
                                            throws org.eclipse.core.runtime.CoreException
        Creates V8 configuration extension project in workspace:
        • Creates actual workspace project with the given name.
        • Creates project manifest with the given Version content.
        • Creates underlying BM model.
        • Attaches the given configuration (if not null) to the created project.
        • Sets provided parent IConfigurationProject as parent project, if not null

        Clients may later access project handle with IV8ProjectManager and created project handle will have IExtensionProject type.

        Parameters:
        projectName - the name to create project with, cannot be null
        version - the 1C:Enterprise Runtime version to create project manifest with, cannot be null
        configuration - the configuration to attach to the project, or null then no configuration will be attached to the project during method execution
        parent - the parent V8 configuration project or null if project is independent
        monitor - the progress monitor to report progress to or null if progress report is not needed
        Returns:
        the created configuration project, never null
        Throws:
        org.eclipse.core.runtime.CoreException - if an exception occurs while creating; reasons include:
        • project with provided name already exists
        • project creation fail
        • underlying BM model creation fail
      • create

        org.eclipse.core.resources.IProject create​(String projectName,
                                                   Path projectPath,
                                                   Version version,
                                                   Configuration configuration,
                                                   org.eclipse.core.resources.IProject parent,
                                                   org.eclipse.core.runtime.IProgressMonitor monitor)
                                            throws org.eclipse.core.runtime.CoreException
        Creates V8 configuration extension project:
        • Creates actual project with the given name in the given path.
        • Creates project manifest with the given Version content.
        • Creates underlying BM model.
        • Attaches the given configuration (if not null) to the created project.
        • Sets provided parent IConfigurationProject as parent project, if not null

        Clients may later access project handle with IV8ProjectManager and created project handle will have IExtensionProject type.

        Parameters:
        projectName - the name to create project with, cannot be null
        projectPath - the path to create project, cannot be null
        version - the 1C:Enterprise Runtime version to create project manifest with, cannot be null
        configuration - the configuration to attach to the project, or null then no configuration will be attached to the project during method execution
        parent - the parent V8 configuration project or null if project is independent
        monitor - the progress monitor to report progress to or null if progress report is not needed
        Returns:
        the created configuration project, never null
        Throws:
        org.eclipse.core.runtime.CoreException - if an exception occurs while creating; reasons include:
        • project with provided name already exists
        • project creation fail
        • underlying BM model creation fail