Class PictureNativeComponentDescription
- java.lang.Object
-
- com._1c.g5.v8.dt.natives.library.AbstractComponentDescription
-
- com.e1c.g5.v8.dt.picturenative.common.PictureNativeComponentDescription
-
- All Implemented Interfaces:
IComponentDescription
,IComponentLibraryResolver
,IComponentLoader
public class PictureNativeComponentDescription extends AbstractComponentDescription implements IComponentLoader
IComponentLoader
for v8 platform native picture component.
-
-
Field Summary
Fields Modifier and Type Field Description static Library[]
LIBRARIES
Picture native libraries.static String
PICTURE_NATIVE_LIBRARIES
Picture native libraries name.
-
Constructor Summary
Constructors Constructor Description PictureNativeComponentDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addExternalDependency(IComponentDescription component)
Adds external dependency component.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-
Methods inherited from class com._1c.g5.v8.dt.natives.library.AbstractComponentDescription
getDelegate, getVersionPathPart, resolveLibrary, resolveResource
-
-
-
-
Field Detail
-
PICTURE_NATIVE_LIBRARIES
public static final String PICTURE_NATIVE_LIBRARIES
Picture native libraries name.- See Also:
- Constant Field Values
-
LIBRARIES
public static final Library[] LIBRARIES
Picture native libraries.
-
-
Method Detail
-
getComponentName
public String getComponentName()
Description copied from interface:IComponentDescription
Gets component name. Each components should be have unique name if you want use it withIComponentLoaderManager
- Specified by:
getComponentName
in interfaceIComponentDescription
- Returns:
- unique name of the native component, never
null
-
getLibraries
public Collection<File> getLibraries(Version version)
Description copied from interface:IComponentDescription
Gets all files corresponding to the libraries including to the defining component- Specified by:
getLibraries
in interfaceIComponentDescription
- Parameters:
version
- actual runtime version of libraries, can'benull
- Returns:
- list of libraries, never
null
-
addExternalDependency
public void addExternalDependency(IComponentDescription component)
Description copied from interface:IComponentLoader
Adds external dependency component.- Specified by:
addExternalDependency
in interfaceIComponentLoader
- Parameters:
component
- external dependency component.
This component usually contains additional dependencies for loading native components.
For example, it should be "icu" library or other different components.
-
checkLibraryResources
public void checkLibraryResources(Version version)
Description copied from interface:IComponentDescription
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.- Specified by:
checkLibraryResources
in interfaceIComponentDescription
- Parameters:
version
- actual runtime version of libraries, can'benull
-
-