|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.endeca.cas.extension.PipelineComponent<R,C>
public abstract class PipelineComponent<R extends PipelineComponentRuntime,C extends PipelineComponentConfiguration<C>>
Base class for any CAS pipeline components.
| Constructor Summary | |
|---|---|
PipelineComponent()
|
|
| Method Summary | |
|---|---|
void |
deleteInstance(C config,
File stateDir)
Deletes an instance of this PipelineComponent. |
protected PipelineComponentContext |
getComponentContext()
Gets the PipelineComponentContext for this instance of the component. |
abstract Class<C> |
getConfigurationClass()
Returns the configuration Class. |
abstract Class<R> |
getRuntimeClass()
|
void |
setComponentContext(PipelineComponentContext componentContext)
Called immediately after the PipelineComponent is instantiated to set up the context for this component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PipelineComponent()
| Method Detail |
|---|
public abstract Class<C> getConfigurationClass()
public abstract Class<R> getRuntimeClass()
DataSource.createDataSourceRuntime(PipelineComponentConfiguration, PipelineComponentRuntimeContext)
or Manipulator.createManipulatorRuntime(PipelineComponentConfiguration, PipelineComponentRuntimeContext)public final void setComponentContext(PipelineComponentContext componentContext)
componentContext - context for the PipelineComponentprotected final PipelineComponentContext getComponentContext()
public void deleteInstance(C config,
File stateDir)
config - The configuration of the instance to deletestateDir - the state directory for this instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||