Package com._1c.g5.v8.dt.import_
Interface IImportOperationFactory
-
public interface IImportOperationFactory
Factory to create instances ofIImportOperation
for configuration import.- See Also:
IImportOperation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IImportOperation
createImportConfigurationOperation(String projectName, Version version, Path sourceFolder)
Creates instance ofIImportOperation
that performs configuration import.IImportOperation
createImportExtensionOperation(String projectName, Version version, Path sourceFolder, org.eclipse.core.resources.IProject parentProject)
Creates instance ofIImportOperation
that performs configuration extension import.IImportOperation
createImportExternalObjectOperation(String projectName, Version version, Path sourceFile, IConfigurationProject baseProject)
Creates instance ofIImportOperation
that performs external objects import.IImportOperation
createImportObjectsOperation(org.eclipse.core.resources.IProject project, Path sourceFolder)
Creates instance ofIImportOperation
that performs metadata objects import to existing project.IImportOperation
createImportObjectsOperation(org.eclipse.core.resources.IProject project, Path sourceFolder, Path destinationFolder)
Creates instance ofIImportOperation
that performs metadata objects import to existing project.
-
-
-
Method Detail
-
createImportConfigurationOperation
IImportOperation createImportConfigurationOperation(String projectName, Version version, Path sourceFolder)
Creates instance ofIImportOperation
that performs configuration import. To perform actual import, client need to execute provided import operation.Import operation will create new configuration project with the provided
name
andVersion
and then import configuration content fromsourceFolder
XML files.If project with the given name already exists in workspace, it will be deleted first.
- Parameters:
projectName
- the name of project to create and import to, cannot benull
version
- the version of 1C:Enterprise to create project with, cannot benull
sourceFolder
- the folder with configuration XML files to import, cannot benull
- Returns:
- an instance of import operation, never
null
-
createImportExtensionOperation
IImportOperation createImportExtensionOperation(String projectName, Version version, Path sourceFolder, org.eclipse.core.resources.IProject parentProject)
Creates instance ofIImportOperation
that performs configuration extension import. To perform actual import, client need to execute provided import operation.Import operation will create new configuration extension project with the provided
name
andVersion
and then import configuration extension content fromsourceFolder
XML files.If project with the given name already exists in workspace, it will be deleted first.
- Parameters:
projectName
- the name of project to create and import to, cannot benull
version
- the version of 1C:Enterprise to create project with, cannot benull
sourceFolder
- the folder with configuration XML files to import, cannot benull
parentProject
- the parent project to create configuration extension project with ornull
to create independent configuration extension project- Returns:
- an instance of import operation, never
null
-
createImportExternalObjectOperation
IImportOperation createImportExternalObjectOperation(String projectName, Version version, Path sourceFile, IConfigurationProject baseProject)
Creates instance ofIImportOperation
that performs external objects import. To perform actual import, client need to execute provided import operation.If project with given name not exist then import operation will create new external objects project with the provided
name
andVersion
and then import external objects content fromsourceFile
XML files.- Parameters:
projectName
- the name of project to create and import to, cannot benull
version
- the version of 1C:Enterprise to create project with, cannot benull
sourceFile
- the source path to root file, cannot benull
baseProject
- the parent project to create external objects project with ornull
to create independent external objects project- Returns:
- an instance of import operation, never
null
-
createImportObjectsOperation
IImportOperation createImportObjectsOperation(org.eclipse.core.resources.IProject project, Path sourceFolder)
Creates instance ofIImportOperation
that performs metadata objects import to existing project. To perform actual import, client need to execute provided import operation. It is client responsibility to provide correct project for the provided XML metadata objects.- Parameters:
project
- the project to import objects to, cannot benull
sourceFolder
- the source folder with platfrom XML objects, cannot benull
- Returns:
- an instance of import operation, never
null
-
createImportObjectsOperation
IImportOperation createImportObjectsOperation(org.eclipse.core.resources.IProject project, Path sourceFolder, Path destinationFolder)
Creates instance ofIImportOperation
that performs metadata objects import to existing project. To perform actual import, client need to execute provided import operation. It is client responsibility to provide correct project for the provided XML metadata objects.- Parameters:
project
- the project to import objects to, cannot benull
sourceFolder
- the source folder with platfrom XML objects, cannot benull
destinationFolder
- the folder to import objects to, cannot benull
- Returns:
- an instance of import operation, never
null
-
-