Package org.apache.unomi.api
Class PropertyMergeStrategyType
- java.lang.Object
-
- org.apache.unomi.api.PropertyMergeStrategyType
-
- All Implemented Interfaces:
PluginType
public class PropertyMergeStrategyType extends Object implements PluginType
A unomi plugin that defines a new property merge strategy.
-
-
Constructor Summary
Constructors Constructor Description PropertyMergeStrategyType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFilter()
Retrieves the OSGi filter used to identify the implementation associated with this PropertyMergeStrategyType.String
getId()
Retrieves the identifier for this PropertyMergeStrategyType.long
getPluginId()
Retrieves the plugin identifier, corresponding to the identifier of the OSGi bundle implementing the plugin.void
setFilter(String filter)
void
setId(String id)
void
setPluginId(long pluginId)
Associates this plugin with its associated OSGi bundle identifier.
-
-
-
Method Detail
-
getId
public String getId()
Retrieves the identifier for this PropertyMergeStrategyType.- Returns:
- the identifier for this PropertyMergeStrategyType
-
setId
public void setId(String id)
-
getFilter
public String getFilter()
Retrieves the OSGi filter used to identify the implementation associated with this PropertyMergeStrategyType. Filters take the following form:(propertyMergeStrategyExecutorId=<id>)
whereid
corresponds to the value of thepropertyMergeStrategyExecutorId
service property in the Blueprint service definition for this PropertyMergeStrategyType.- Returns:
- the filter string used to identify the implementation associated with this PropertyMergeStrategyType
-
setFilter
public void setFilter(String filter)
-
getPluginId
public long getPluginId()
Description copied from interface:PluginType
Retrieves the plugin identifier, corresponding to the identifier of the OSGi bundle implementing the plugin.- Specified by:
getPluginId
in interfacePluginType
- Returns:
- the plugin identifier, corresponding to the identifier of the OSGi bundle implementing the plugin
-
setPluginId
public void setPluginId(long pluginId)
Description copied from interface:PluginType
Associates this plugin with its associated OSGi bundle identifier.- Specified by:
setPluginId
in interfacePluginType
- Parameters:
pluginId
- the OSGi bundle identifier associated with this plugin
-
-