org.apache.stanbol.enhancer.servicesapi
Interface ServiceProperties


public interface ServiceProperties

Stanbol Enhancer components might implement this interface to parse additional properties to other components.

Author:
Rupert Westenthaler

Field Summary
static java.lang.String ENHANCEMENT_ENGINE_ORDERING
          Property Key used to define the order in which EnhancementEngines are called by the EnhancementJobManager.
static java.lang.Integer ORDERING_CONTENT_EXTRACTION
          Ordering values < ORDERING_PRE_PROCESSING and >= this value indicate, that an enhancement engine performs operations that are only dependent on the parsed content.
static java.lang.Integer ORDERING_DEFAULT
          The default ordering uses ORDERING_EXTRACTION_ENHANCEMENT -1 .
static java.lang.Integer ORDERING_EXTRACTION_ENHANCEMENT
          Ordering values < ORDERING_CONTENT_EXTRACTION and >= this value indicate, that an enhancement engine performs operations on extracted features of the content.
static java.lang.Integer ORDERING_POST_PROCESSING
          Ordering values < ORDERING_DEFAULT and >= this value indicate that an enhancement engine performs post processing operations on existing enhancements.
static java.lang.Integer ORDERING_PRE_PROCESSING
          Ordering values >= this value indicate, that an enhancement engine dose some pre processing on the content
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getServiceProperties()
          Getter for the properties defined by this service.
 

Field Detail

ENHANCEMENT_ENGINE_ORDERING

static final java.lang.String ENHANCEMENT_ENGINE_ORDERING
Property Key used to define the order in which EnhancementEngines are called by the EnhancementJobManager. This property expects a single Integer as value

See Also:
Constant Field Values

ORDERING_PRE_PROCESSING

static final java.lang.Integer ORDERING_PRE_PROCESSING
Ordering values >= this value indicate, that an enhancement engine dose some pre processing on the content


ORDERING_CONTENT_EXTRACTION

static final java.lang.Integer ORDERING_CONTENT_EXTRACTION
Ordering values < ORDERING_PRE_PROCESSING and >= this value indicate, that an enhancement engine performs operations that are only dependent on the parsed content.


ORDERING_EXTRACTION_ENHANCEMENT

static final java.lang.Integer ORDERING_EXTRACTION_ENHANCEMENT
Ordering values < ORDERING_CONTENT_EXTRACTION and >= this value indicate, that an enhancement engine performs operations on extracted features of the content. It can also extract additional enhancement by using the content, but such features might not be available to other engines using this ordering range


ORDERING_DEFAULT

static final java.lang.Integer ORDERING_DEFAULT
The default ordering uses ORDERING_EXTRACTION_ENHANCEMENT -1 . So by default EnhancementEngines are called after all engines that use an value within the ordering range defined by ORDERING_EXTRACTION_ENHANCEMENT


ORDERING_POST_PROCESSING

static final java.lang.Integer ORDERING_POST_PROCESSING
Ordering values < ORDERING_DEFAULT and >= this value indicate that an enhancement engine performs post processing operations on existing enhancements.

Method Detail

getServiceProperties

java.util.Map<java.lang.String,java.lang.Object> getServiceProperties()
Getter for the properties defined by this service.

Returns:
An unmodifiable map of properties defined by this service


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.