Package com._1c.g5.v8.dt.natives.library
Interface IComponentDescription
-
- All Known Subinterfaces:
IComponentLoader
- All Known Implementing Classes:
AbstractComponentDescription
,CairoComponentDescription
,ChartComponentDescription
,ChartPlatformComponentDescription
,DcsNativeComponentDescription
,DcsNativePlatformComponentDescription
,FormNativeComponentDescription
,FormNativePlatformComponentDescription
,IcuComponentDescription
,ImageMagicComponentDescription
,LibUnwindComponentDescription
,MallocLibComponentDescription
,MdNativeComponentDescription
,MdNativePlatformComponentDescription
,NgHttpPlatformComponentDescription
,PlatformComponentDescription
,StdLibCPlusPlusComponentDescription
,WSDefinitionComponentDescription
,WSDefinitionPlatformComponentDescription
public interface IComponentDescription
Interface of description native libraries component.
This interface provides useful API for resolving pathes to the component libraries in file system
Also clients can implements
IComponentExtraDependenciesProvider
for adding extra dependencies to the component
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
checkLibraryResources(Version version)
Checks for existing of all files corresponding to the libraries resources including to the defining component.String
getComponentName()
Gets component name.Collection<File>
getLibraries(Version version)
Gets all files corresponding to the libraries including to the defining component
-
-
-
Method Detail
-
getComponentName
String getComponentName()
Gets component name. Each components should be have unique name if you want use it withIComponentLoaderManager
- Returns:
- unique name of the native component, never
null
-
getLibraries
Collection<File> getLibraries(Version version)
Gets all files corresponding to the libraries including to the defining component- Parameters:
version
- actual runtime version of libraries, can'benull
- Returns:
- list of libraries, never
null
-
checkLibraryResources
void checkLibraryResources(Version version)
Checks for existing of all files corresponding to the libraries resources including to the defining component. If some resources weren't foundRuntimeException
will be thrown.- Parameters:
version
- actual runtime version of libraries, can'benull
-
-