public abstract class Manipulator<R extends ManipulatorRuntime,C extends PipelineComponentConfiguration<C>> extends PipelineComponent<R,C>
CasManipulator annotation
and have a zero argument constructor.
CAS creates exactly one instance of the Manipulator at start-up time and will call
createManipulatorRuntime to create a runtime object each time a crawl is started for
each occurance of the manipulator in the data source configuration.
| Constructor and Description |
|---|
Manipulator() |
| Modifier and Type | Method and Description |
|---|---|
abstract R |
createManipulatorRuntime(C configuration,
PipelineComponentRuntimeContext context)
Creates a new runtime instance of this manipulator.
|
deleteInstance, getComponentContext, getConfigurationClass, getRuntimeClass, setComponentContextpublic abstract R createManipulatorRuntime(C configuration, PipelineComponentRuntimeContext context) throws PipelineInitializationException
configuration - the configuration to be used by the new ManipulatorRuntimecontext - the context to be used by the new ManipulatorRuntimeManipulatorRuntimePipelineInitializationException - if creation of the ManipulatorRuntime failed.Copyright © 2007, 2014, Oracle and/or its affiliates. All rights reserved.