T
- M
- public abstract class DefaultBasePipelineComponent<T extends PipelineDefinition<T>,M> extends java.lang.Object implements BasePipelineComponent<T,M>
Modifier and Type | Method and Description |
---|---|
void |
deletePipeline(java.lang.String pipelineId,
int version) |
ClientComponent |
getClientComponent() |
java.lang.Class<? extends com.lucidworks.apollo.client.resources.AbstractPipelineClientResource> |
getClientInterface() |
com.lucidworks.apollo.component.crud.UpdateBuilder<T> |
getCreateBuilder() |
com.lucidworks.apollo.component.crud.DeleteBuilder |
getDeleteBuilder() |
com.lucidworks.apollo.component.crud.ListBuilder<T> |
getListBuilder() |
<any> |
getPipeline(java.lang.String pipelineId) |
<any> |
getPipelineDefinitionRegistry() |
PipelineManager<M> |
getPipelineManager() |
com.lucidworks.apollo.component.crud.ReadBuilder<T> |
getReadBuilder() |
com.lucidworks.apollo.component.crud.UpdateBuilder<T> |
getUpdateBuilder(java.lang.String idFromUrl) |
java.util.Collection<T> |
listPipelines()
list the pipelines
|
void |
refreshPipeline(java.lang.String pipelineId) |
void |
setClientInterfaceClazz(java.lang.Class<? extends com.lucidworks.apollo.client.resources.AbstractPipelineClientResource> clientInterfaceClazz) |
void |
stopAndFinalizePipelineJob(java.lang.String pipelineId) |
void |
validateStages(T pipeline) |
public void setClientInterfaceClazz(java.lang.Class<? extends com.lucidworks.apollo.client.resources.AbstractPipelineClientResource> clientInterfaceClazz)
setClientInterfaceClazz
in interface BasePipelineComponent<T extends PipelineDefinition<T>,M>
public java.util.Collection<T> listPipelines() throws com.lucidworks.apollo.common.error.ComponentError
BasePipelineComponent
listPipelines
in interface BasePipelineComponent<T extends PipelineDefinition<T>,M>
com.lucidworks.apollo.common.error.ComponentError
public <any> getPipeline(java.lang.String pipelineId) throws com.lucidworks.apollo.common.error.ComponentError
getPipeline
in interface BasePipelineComponent<T extends PipelineDefinition<T>,M>
com.lucidworks.apollo.common.error.ComponentError
public <any> getPipelineDefinitionRegistry()
getPipelineDefinitionRegistry
in interface BasePipelineComponent<T extends PipelineDefinition<T>,M>
public com.lucidworks.apollo.component.crud.ListBuilder<T> getListBuilder()
getListBuilder
in interface BasePipelineComponent<T extends PipelineDefinition<T>,M>
public com.lucidworks.apollo.component.crud.ReadBuilder<T> getReadBuilder()
getReadBuilder
in interface BasePipelineComponent<T extends PipelineDefinition<T>,M>
public com.lucidworks.apollo.component.crud.UpdateBuilder<T> getCreateBuilder()
getCreateBuilder
in interface BasePipelineComponent<T extends PipelineDefinition<T>,M>
public com.lucidworks.apollo.component.crud.UpdateBuilder<T> getUpdateBuilder(java.lang.String idFromUrl)
getUpdateBuilder
in interface BasePipelineComponent<T extends PipelineDefinition<T>,M>
public com.lucidworks.apollo.component.crud.DeleteBuilder getDeleteBuilder()
getDeleteBuilder
in interface BasePipelineComponent<T extends PipelineDefinition<T>,M>
public void deletePipeline(java.lang.String pipelineId, int version) throws com.lucidworks.apollo.common.error.ComponentError
deletePipeline
in interface BasePipelineComponent<T extends PipelineDefinition<T>,M>
com.lucidworks.apollo.common.error.ComponentError
public void validateStages(T pipeline) throws com.lucidworks.apollo.common.error.ComponentError
validateStages
in interface BasePipelineComponent<T extends PipelineDefinition<T>,M>
com.lucidworks.apollo.common.error.ComponentError
public ClientComponent getClientComponent()
getClientComponent
in interface BasePipelineComponent<T extends PipelineDefinition<T>,M>
public void refreshPipeline(java.lang.String pipelineId) throws com.lucidworks.apollo.common.error.ComponentError
refreshPipeline
in interface BasePipelineComponent<T extends PipelineDefinition<T>,M>
com.lucidworks.apollo.common.error.ComponentError
public void stopAndFinalizePipelineJob(java.lang.String pipelineId)
stopAndFinalizePipelineJob
in interface BasePipelineComponent<T extends PipelineDefinition<T>,M>
public java.lang.Class<? extends com.lucidworks.apollo.client.resources.AbstractPipelineClientResource> getClientInterface()
getClientInterface
in interface BasePipelineComponent<T extends PipelineDefinition<T>,M>
public PipelineManager<M> getPipelineManager()
getPipelineManager
in interface BasePipelineComponent<T extends PipelineDefinition<T>,M>