Class WidgetJarLibInfo
- java.lang.Object
-
- com.hybris.cockpitng.core.persistence.packaging.WidgetJarLibInfo
-
public class WidgetJarLibInfo extends java.lang.ObjectContains information about single component defined in a module library.
-
-
Constructor Summary
Constructors Constructor Description WidgetJarLibInfo(java.lang.String id, java.util.Properties properties, java.io.File jarFile, java.lang.String prefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetExternalLocation()Retrieves a URI to defining module sourcejava.lang.StringgetId()Retrieves component's definition identityjava.util.jar.JarFilegetJarFile()Deprecated, for removal: This API element is subject to removal in a future version.since 1808, usegetJarPath()insteadjava.lang.StringgetJarName()Retrieves a name of defining module's libraryjava.io.FilegetJarPath()Retrieves a defining module's libraryjava.lang.StringgetPrefix()Retrieves a path prefix for components resourcesjava.util.PropertiesgetProperties()voidsetExternalLocation(java.lang.String externalLocation)
-
-
-
Constructor Detail
-
WidgetJarLibInfo
public WidgetJarLibInfo(java.lang.String id, java.util.Properties properties, java.io.File jarFile, java.lang.String prefix)- Parameters:
id- id of componentproperties- properties of componentjarFile- library file of defining moduleprefix- path prefix for components resources
-
-
Method Detail
-
getId
public java.lang.String getId()
Retrieves component's definition identity- Returns:
- id of component
-
getProperties
public java.util.Properties getProperties()
-
getPrefix
public java.lang.String getPrefix()
Retrieves a path prefix for components resources- Returns:
- resources prefix
-
getJarFile
@Deprecated(since="1808", forRemoval=true) public java.util.jar.JarFile getJarFile()Deprecated, for removal: This API element is subject to removal in a future version.since 1808, usegetJarPath()instead
-
getJarName
public java.lang.String getJarName()
Retrieves a name of defining module's library- Returns:
- name of module library
-
getJarPath
public java.io.File getJarPath()
Retrieves a defining module's library- Returns:
- module library
-
getExternalLocation
public java.lang.String getExternalLocation()
Retrieves a URI to defining module source- Returns:
- module source URI
-
setExternalLocation
public void setExternalLocation(java.lang.String externalLocation)
- Parameters:
externalLocation-
-
-