A C D E G H I L M O P R S T W

A

acquire() - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJobHandler.EnhancementJobObserver
 
activate(ComponentContext) - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl
Instantiates and registers the EnhancementJobHandler as EventHandler for the topic Constants.TOPIC_JOB_MANAGER

C

chainManager - Variable in class org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl
 
close() - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJobHandler
Closes this Handler and notifies all components that wait for still running jobs
Constants - Interface in org.apache.stanbol.enhancer.jobmanager.event
Defines constants such as the used EventConstants.EVENT_TOPIC and the properties used by the sent Events.

D

deactivate(ComponentContext) - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl
Unregisters the EnhancementJobHandler
DEFAULT_MAX_ENHANCEMENT_JOB_WAIT_TIME - Static variable in class org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl
default max wait time is 60sec (similar to the http timeout)
DEFAULT_SERVICE_RANKING - Static variable in class org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl
 

E

engineManager - Variable in class org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl
 
enhanceContent(ContentItem) - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl
 
enhanceContent(ContentItem, Chain) - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl
 
EnhancementJob - Class in org.apache.stanbol.enhancer.jobmanager.event.impl
Represents the enhancement of a ContentItem by following the execution plan provided by a Chain as parsed to an EnhancementJobManager.
EnhancementJob(ContentItem, String, Graph, boolean) - Constructor for class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJob
Constructor used to create and initialise a new enhancement job.
EnhancementJob(ContentItem) - Constructor for class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJob
Creates an EnhancemenJob based on already existing execution metadata present for a ContentItem.
EnhancementJobHandler - Class in org.apache.stanbol.enhancer.jobmanager.event.impl
 
EnhancementJobHandler(EventAdmin, EnhancementEngineManager) - Constructor for class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJobHandler
 
EnhancementJobHandler.EnhancementJobObserver - Class in org.apache.stanbol.enhancer.jobmanager.event.impl
 
eventAdmin - Variable in class org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl
 
EventJobManagerImpl - Class in org.apache.stanbol.enhancer.jobmanager.event.impl
 
EventJobManagerImpl() - Constructor for class org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl
 
executeNextNodes(EnhancementJob) - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJobHandler
triggers the execution of the next nodes or if EnhancementJob.isFinished() notifies the one who registered the EnhancementJob with this component.

G

getActiveEngines() - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl
 
getChainName() - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJob
This returns the name of the Chain used to initialise the execution plan for this enhancement job.
getCompleted() - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJob
Getter for a read only view over the completed execution.
getContentItem() - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJob
The ContentItem enhanced by this job.
getError() - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJob
if EnhancementJob.isFailed() this may contain the Exception that caused the enhancement job to fail.
getErrorMessage() - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJob
 
getExecutable() - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJob
Getter for the executable nodes.
getExecution(NonLiteral) - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJob
Getter for the em:Execution linked to a ep:ExecutionNode
getExecutionMetadata() - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJob
Getter for the ExecutionMetadata.
getExecutionNode(NonLiteral) - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJob
Getter for the ep:ExecutionNode linked to a em:Execution
getExecutionPlan() - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJob
The used execution plan for processing the ContentItem
getLock() - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJob
Getter for the lock used to synchronise read/write to this enhancement job.
getRunning() - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJob
Getter for a read only view over the currently running executions.

H

handleEvent(Event) - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJobHandler
 
hasCompleted() - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJobHandler.EnhancementJobObserver
 

I

isFailed() - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJob
Getter for the failed state.
isFinished() - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJob
Returns true if this chain has finished.

L

logJobInfo(Logger, EnhancementJob, String, boolean) - Static method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJobHandler
Logs basic infos about the Job as INFO and detailed infos as DEBUG

M

MAX_ENHANCEMENT_JOB_WAIT_TIME - Static variable in class org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl
 

O

org.apache.stanbol.enhancer.jobmanager.event - package org.apache.stanbol.enhancer.jobmanager.event
 
org.apache.stanbol.enhancer.jobmanager.event.impl - package org.apache.stanbol.enhancer.jobmanager.event.impl
 

P

PROPERTY_EXECUTION - Static variable in interface org.apache.stanbol.enhancer.jobmanager.event.Constants
Property used to provide the NonLiteral describing the ExecutionMetadata.EXECUTION instance
PROPERTY_JOB_MANAGER - Static variable in interface org.apache.stanbol.enhancer.jobmanager.event.Constants
Property used to provide the EnhancementJob instance

R

register(EnhancementJob) - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJobHandler
Registers an EnhancementJob and will start the enhancement process.
release() - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJobHandler.EnhancementJobObserver
 

S

setCompleted(NonLiteral) - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJob
Sets the state of the parsed executionNode to completed.
setFailed(NonLiteral, EnhancementEngine, Exception) - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJob
 
setRunning(NonLiteral) - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJob
Sets the state of the parsed execution to running.
startProcessing() - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJob
Marks the execution of the enhancement process as started.

T

TOPIC_JOB_MANAGER - Static variable in interface org.apache.stanbol.enhancer.jobmanager.event.Constants
The topic used to report the completion the execution of an EnhancementEngine back to the event job manager
toString() - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJob
 

W

waitForCompletion(int) - Method in class org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJobHandler.EnhancementJobObserver
 

A C D E G H I L M O P R S T W

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