Package com._1c.g5.v8.dt.formnative
Class FormNativeComponentDescription
- java.lang.Object
-
- com._1c.g5.v8.dt.natives.library.AbstractComponentDescription
-
- com._1c.g5.v8.dt.formnative.FormNativeComponentDescription
-
- All Implemented Interfaces:
IComponentDescription,IComponentLibraryResolver,IComponentLoader
public class FormNativeComponentDescription extends AbstractComponentDescription implements IComponentLoader
IComponentLoaderfor v8 platform Form Native components.
-
-
Field Summary
Fields Modifier and Type Field Description static StringFORM_NATIVE_LIBRARIESThe component name for loading SCOM.static Library[]LIBRARIESLibrary's names that required for layout.
-
Constructor Summary
Constructors Constructor Description FormNativeComponentDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExternalDependency(IComponentDescription component)Adds external dependency component.voidcheckLibraryResources(Version version)Checks for existing of all files corresponding to the libraries resources including to the defining component.StringgetComponentName()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
-
FORM_NATIVE_LIBRARIES
public static final String FORM_NATIVE_LIBRARIES
The component name for loading SCOM.- See Also:
- Constant Field Values
-
LIBRARIES
public static final Library[] LIBRARIES
Library's names that required for layout.
-
-
Method Detail
-
getComponentName
public String getComponentName()
Description copied from interface:IComponentDescriptionGets component name. Each components should be have unique name if you want use it withIComponentLoaderManager- Specified by:
getComponentNamein interfaceIComponentDescription- Returns:
- unique name of the native component, never
null
-
getLibraries
public Collection<File> getLibraries(Version version)
Description copied from interface:IComponentDescriptionGets all files corresponding to the libraries including to the defining component- Specified by:
getLibrariesin 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:IComponentLoaderAdds external dependency component.- Specified by:
addExternalDependencyin 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:IComponentDescriptionChecks for existing of all files corresponding to the libraries resources including to the defining component. If some resources weren't foundRuntimeExceptionwill be thrown.- Specified by:
checkLibraryResourcesin interfaceIComponentDescription- Parameters:
version- actual runtime version of libraries, can'benull
-
-