Class ArchivedRuntimeComponent

    • Constructor Detail

      • ArchivedRuntimeComponent

        public ArchivedRuntimeComponent​(RuntimeInstallation installation,
                                        IRuntimeComponentType type)
        Creates an instance of ArchivedRuntimeComponent.
        Parameters:
        installation - the owner installation of 1C:Enterprise runtime, cannot be null, must have archive file path as location
        type - the 1C:Enterprise runtime component type, cannot be null
    • 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 interface IArchivedRuntimeComponent
        Parameters:
        fileName - the name of file to dearchive, cannot be null
        destination - the destination to dearchive file to, cannot be null
        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