Class CommonDelegatePlatformComponentDescription
- java.lang.Object
-
- com._1c.g5.v8.dt.natives.library.AbstractDelegateComponentDescription
-
- com._1c.g5.v8.dt.natives.library.platform.AbstractDelegatePlatformComponentDescription
-
- com._1c.g5.v8.dt.natives.library.platform.CommonDelegatePlatformComponentDescription
-
- All Implemented Interfaces:
IComponentExtraDependenciesProvider
,IComponentLibraryResolver
public class CommonDelegatePlatformComponentDescription extends AbstractDelegatePlatformComponentDescription
Default implementation ofAbstractDelegateComponentDescription
.
-
-
Constructor Summary
Constructors Constructor Description CommonDelegatePlatformComponentDescription(String pluginId, String extension)
CommonDelegatePlatformComponentDescription(String pluginId, String extension, String[] dependentLibraries)
CommonDelegatePlatformComponentDescription(String pluginId, String extension, Function<Version,String> extensionSuffix, String[] dependentLibraries)
CommonDelegatePlatformComponentDescription(String pluginId, String extension, Function<Version,String> extensionSuffix, String[] dependentLibraries, String[] dependentResources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String[]
getDependentLibrariesNames()
Gets names of the component librariesprotected String[]
getDependentLibrariesResourcesNames()
Gets names of the component libraries resourcesprotected String
getLibraryExtension()
Gets library file extensionprotected String
getLibraryExtensionSuffix(Version version)
protected String
getLibraryFolderName()
Gets name of the folder with librariesprotected String
getPluginId()
Gets plugin id with libraries folder-
Methods inherited from class com._1c.g5.v8.dt.natives.library.platform.AbstractDelegatePlatformComponentDescription
getDependencies, getVersionPathPart
-
Methods inherited from class com._1c.g5.v8.dt.natives.library.AbstractDelegateComponentDescription
resolveLibrary, resolveResource
-
-
-
-
Constructor Detail
-
CommonDelegatePlatformComponentDescription
public CommonDelegatePlatformComponentDescription(String pluginId, String extension)
-
CommonDelegatePlatformComponentDescription
public CommonDelegatePlatformComponentDescription(String pluginId, String extension, Function<Version,String> extensionSuffix, String[] dependentLibraries, String[] dependentResources)
-
CommonDelegatePlatformComponentDescription
public CommonDelegatePlatformComponentDescription(String pluginId, String extension, String[] dependentLibraries)
-
-
Method Detail
-
getDependentLibrariesNames
protected String[] getDependentLibrariesNames()
Description copied from class:AbstractDelegatePlatformComponentDescription
Gets names of the component libraries- Specified by:
getDependentLibrariesNames
in classAbstractDelegatePlatformComponentDescription
- Returns:
- names of the component libraries, can't be
null
-
getDependentLibrariesResourcesNames
protected String[] getDependentLibrariesResourcesNames()
Description copied from class:AbstractDelegatePlatformComponentDescription
Gets names of the component libraries resources- Specified by:
getDependentLibrariesResourcesNames
in classAbstractDelegatePlatformComponentDescription
- Returns:
- names of the component libraries resources, can't be
null
-
getLibraryExtension
protected String getLibraryExtension()
Description copied from class:AbstractDelegateComponentDescription
Gets library file extension- Specified by:
getLibraryExtension
in classAbstractDelegateComponentDescription
- Returns:
- library file extension, never
null
-
getLibraryExtensionSuffix
protected String getLibraryExtensionSuffix(Version version)
- Overrides:
getLibraryExtensionSuffix
in classAbstractDelegateComponentDescription
-
getLibraryFolderName
protected String getLibraryFolderName()
Description copied from class:AbstractDelegateComponentDescription
Gets name of the folder with libraries- Specified by:
getLibraryFolderName
in classAbstractDelegateComponentDescription
- Returns:
- name of the folder with libraries, never
null
-
getPluginId
protected String getPluginId()
Description copied from class:AbstractDelegateComponentDescription
Gets plugin id with libraries folder- Overrides:
getPluginId
in classAbstractDelegatePlatformComponentDescription
- Returns:
- plugin id with libraries folder, never
null
-
-