Class AbstractDelegateComponentDescription

    • Constructor Detail

      • AbstractDelegateComponentDescription

        public AbstractDelegateComponentDescription()
    • Method Detail

      • resolveLibrary

        public File resolveLibrary​(String name,
                                   Version version)
        Description copied from interface: IComponentLibraryResolver
        Gets file to the library by its name
        Specified by:
        resolveLibrary in interface IComponentLibraryResolver
        Parameters:
        name - name of the resolving library, can't be null
        Returns:
        file corresponding to the resolving library or null if library with the same name wasn't found
      • resolveResource

        public File resolveResource​(String name,
                                    Version version)
        Description copied from interface: IComponentLibraryResolver
        Gets file to the library resource by its name
        Specified by:
        resolveResource in interface IComponentLibraryResolver
        Parameters:
        name - name of the resolving library resource, can't be null
        Returns:
        file corresponding to the resolving library resource or null if library resource with the same name wasn't found
      • getLibraryExtensionSuffix

        protected String getLibraryExtensionSuffix​(Version version)
      • getLibraryFolderName

        protected abstract String getLibraryFolderName()
        Gets name of the folder with libraries
        Returns:
        name of the folder with libraries, never null
      • getLibraryExtension

        protected abstract String getLibraryExtension()
        Gets library file extension
        Returns:
        library file extension, never null
      • getPluginId

        protected abstract String getPluginId()
        Gets plugin id with libraries folder
        Returns:
        plugin id with libraries folder, never null