Class PlatformComponentDescription
- java.lang.Object
-
- com._1c.g5.v8.dt.natives.library.AbstractComponentDescription
-
- com._1c.g5.v8.dt.natives.library.platform.PlatformComponentDescription
-
- All Implemented Interfaces:
IComponentDescription
,IComponentLibraryResolver
public class PlatformComponentDescription extends AbstractComponentDescription
Description of component includes libraries for v8 core components
-
-
Field Summary
Fields Modifier and Type Field Description static Library[]
LIBRARIES
static Library[]
LIBRARIES_8_3_11
static String
PLATFORM_LIBRARIES
-
Constructor Summary
Constructors Constructor Description PlatformComponentDescription()
-
Method Summary
All Methods Instance Methods Concrete 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.List<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
-
PLATFORM_LIBRARIES
public static final String PLATFORM_LIBRARIES
- See Also:
- Constant Field Values
-
LIBRARIES
public static final Library[] LIBRARIES
-
LIBRARIES_8_3_11
public static final Library[] LIBRARIES_8_3_11
-
-
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
- Returns:
- unique name of the native component, never
null
-
getLibraries
public List<File> getLibraries(Version version)
Description copied from interface:IComponentDescription
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
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.- Parameters:
version
- actual runtime version of libraries, can'benull
-
-