Class TestExportContext
- java.lang.Object
-
- com._1c.g5.v8.dt.export.xml.exporter.base.TestExportContext
-
- All Implemented Interfaces:
IExportContext
public class TestExportContext extends Object implements IExportContext
ExportContext for all tests
-
-
Constructor Summary
Constructors Constructor Description TestExportContext(Version version, CompatibilityMode compatibilityMode, String xmlVersion, Path copyFileFromPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompatibilityMode
getCompatibilityMode()
The CompatibilityMode of export configurationorg.eclipse.core.resources.IProject
getExportProject()
The export projectVersion
getProjectVersion()
The export project versionString
getXmlFormatVersion()
The export xml format version
-
-
-
Constructor Detail
-
TestExportContext
public TestExportContext(Version version, CompatibilityMode compatibilityMode, String xmlVersion, Path copyFileFromPath) throws IOException
- Parameters:
version
- runtine versionxmlVersion
- xml version for runtineVersioncopyFileFromPath
- file path if export mast copy file- Throws:
IOException
-
-
Method Detail
-
getExportProject
public org.eclipse.core.resources.IProject getExportProject()
Description copied from interface:IExportContext
The export project- Specified by:
getExportProject
in interfaceIExportContext
- Returns:
- the
IProject
for export, nevernull
-
getProjectVersion
public Version getProjectVersion()
Description copied from interface:IExportContext
The export project version- Specified by:
getProjectVersion
in interfaceIExportContext
- Returns:
- the
Version
of export project, nevernull
-
getXmlFormatVersion
public String getXmlFormatVersion()
Description copied from interface:IExportContext
The export xml format version- Specified by:
getXmlFormatVersion
in interfaceIExportContext
- Returns:
- string of xml format version, never
null
-
getCompatibilityMode
public CompatibilityMode getCompatibilityMode()
Description copied from interface:IExportContext
The CompatibilityMode of export configuration- Specified by:
getCompatibilityMode
in interfaceIExportContext
- Returns:
- the
CompatibilityMode
of export configuration, nevernull
-
-