Class ArchivedRuntimeComponent
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.services.core.runtimes.execution.impl.RuntimeComponent
-
- com._1c.g5.v8.dt.platform.services.core.runtimes.execution.impl.ArchivedRuntimeComponent
-
- All Implemented Interfaces:
IArchivedRuntimeComponent
,IRuntimeComponent
public class ArchivedRuntimeComponent extends RuntimeComponent implements IArchivedRuntimeComponent
Implementation ofIArchivedRuntimeComponent
.
-
-
Constructor Summary
Constructors Constructor Description ArchivedRuntimeComponent(RuntimeInstallation installation, IRuntimeComponentType type)
Creates an instance ofArchivedRuntimeComponent
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dearchive(String fileName, Path destination)
Dearchive the file with the given name to the target destination.-
Methods inherited from class com._1c.g5.v8.dt.platform.services.core.runtimes.execution.impl.RuntimeComponent
getInstallation, getLocation, getName, getType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com._1c.g5.v8.dt.platform.services.core.runtimes.execution.IRuntimeComponent
getInstallation, getLocation, getName, getType
-
-
-
-
Constructor Detail
-
ArchivedRuntimeComponent
public ArchivedRuntimeComponent(RuntimeInstallation installation, IRuntimeComponentType type)
Creates an instance ofArchivedRuntimeComponent
.- Parameters:
installation
- the owner installation of 1C:Enterprise runtime, cannot benull
, must have archive file path as locationtype
- the 1C:Enterprise runtime component type, cannot benull
-
-
Method Detail
-
dearchive
public void dearchive(String fileName, Path destination) throws org.eclipse.core.runtime.CoreException
Description copied from interface:IArchivedRuntimeComponent
Dearchive the file with the given name to the target destination.- Specified by:
dearchive
in interfaceIArchivedRuntimeComponent
- Parameters:
fileName
- the name of file to dearchive, cannot benull
destination
- the destination to dearchive file to, cannot benull
- Throws:
org.eclipse.core.runtime.CoreException
- if dearchive error occurred; reasons include:- File with the given file name not found inside the archive file
- File dearchive I/O error
-
-