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 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 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