| Used with the PipelineFactory to define the filters and optional terminator for a pipeline. |
Element filter |
---|
Defines a filter in terms of an existing service. |
| Attribute service-id |
Required
|
| Translator | service |
---|
| The id of a service implementing the pipeline's filter interface. |
| Attribute before |
Optional
|
| Translator | id-list |
---|
| A list of ids of other contributed filters that should precede this filter in the pipeline. |
| Attribute after |
Optional
|
| Translator | id-list |
---|
| A list of ids of other contributed filters that should follow this filter in the pipeline. |
| Conversion Rules- create-object
(
class=org.apache.hivemind.lib.pipeline.FilterContribution
)
- read-attribute
(
attribute=before
property=before
)
- read-attribute
(
attribute=after
property=after
)
- read-attribute
(
attribute=service-id
property=filter
)
- read-attribute
(
attribute=service-id
property=name
translator=qualified-id
)
- invoke-parent
(
method=addElement
)
|
Element filter-object |
---|
Defines a filter in terms of an object. |
| Attribute name |
Required
|
| Translator | qualified-id |
---|
| A name for the filter that is used when setting the order of the filters. |
| Attribute object |
Required
|
| Translator | object |
---|
| The object to act as a filter. |
| Attribute before |
Optional
|
| Translator | id-list |
---|
| A list of ids of other contributed filters that should precede this filter in the pipeline. |
| Attribute after |
Optional
|
| Translator | id-list |
---|
| A list of ids of other contributed filters that should follow this filter in the pipeline. |
| Conversion Rules- conversion
(
class=org.apache.hivemind.lib.pipeline.FilterContribution
)
{
- map
(
attribute=object
property=filter
)
}
|
Element terminator |
---|
A service, implementing the pipeline's service interface, that is invoked by the final filter in the pipeline. |
| Attribute service-id |
Required
|
| Translator | service |
---|
| Conversion Rules- conversion
(
class=org.apache.hivemind.lib.pipeline.TerminatorContribution
)
{
- map
(
attribute=service-id
property=terminator
)
}
|
Element terminator-object |
---|
An object, implementing the pipeline's service interface, that is invoked by the final filter in the pipeline. |
| Attribute object |
Required
|
| Translator | object |
---|
| Conversion Rules- conversion
(
class=org.apache.hivemind.lib.pipeline.TerminatorContribution
)
{
- map
(
attribute=object
property=terminator
)
}
|