Class FormNativeComponentDescription

    • 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.
    • Constructor Detail

      • FormNativeComponentDescription

        public FormNativeComponentDescription()
    • Method Detail

      • 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 interface IComponentDescription
        Parameters:
        version - actual runtime version of libraries, can'be null
        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 interface IComponentLoader
        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 found RuntimeException will be thrown.
        Specified by:
        checkLibraryResources in interface IComponentDescription
        Parameters:
        version - actual runtime version of libraries, can'be null