Interface IArchivedRuntimeComponent
-
- All Superinterfaces:
IRuntimeComponent
- All Known Implementing Classes:
ArchivedRuntimeComponent
public interface IArchivedRuntimeComponent extends IRuntimeComponent
The 1C:Enterprise runtime component that is archived inside an archive file. Component represents a collection of files, that can be accessed by their file names, and can be dearchived to the target destination.Components are resolved by
resolvers
and later can be used to execute 1C:Enterprise runtime installation executors.Clients may use
ArchivedRuntimeComponent
implementation or define more specific implementation, if it is needed for appropriate executor.- See Also:
IRuntimeComponent
,IRuntimeComponentResolver
-
-
Method Summary
All Methods Instance Methods Abstract 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 interface com._1c.g5.v8.dt.platform.services.core.runtimes.execution.IRuntimeComponent
getInstallation, getLocation, getName, getType
-
-
-
-
Method Detail
-
dearchive
void dearchive(String fileName, Path destination) throws org.eclipse.core.runtime.CoreException
Dearchive the file with the given name to the target destination.- 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
-
-