RESPONSE - type of response object for the pipeline@Api(allMethods=true)
public interface PipelineService<RESPONSE>
| Modifier and Type | Method and Description |
|---|---|
PipelineContext |
createContext()
Get a new pipeline context.
|
void |
execute(PipelineInfo<RESPONSE> pipeline,
PipelineContext context,
RESPONSE response)
Execute the pipeline, starting with a known context.
|
void |
execute(String key,
String layerId,
PipelineContext context,
RESPONSE response)
Execute the pipeline, starting with a known context.
|
PipelineInfo<RESPONSE> |
getPipeline(String key,
String layerId)
Get a pipeline configuration based on the key and optional layer id.
|
void execute(PipelineInfo<RESPONSE> pipeline, PipelineContext context, RESPONSE response) throws GeomajasException
pipeline - pipeline steps / configurationcontext - known context (can be null if there are no parameters for the pipeline)response - response object which is filled by the pipelineGeomajasException - any exception which may have been throws during the executionvoid execute(String key, String layerId, PipelineContext context, RESPONSE response) throws GeomajasException
key - key for the pipelinelayerId - layer ifcontext - known context (can be null if there are no parameters for the pipeline)response - response object which is filled by the pipelineGeomajasException - any exception which may have been throws during the executionPipelineInfo<RESPONSE> getPipeline(String key, String layerId) throws GeomajasException
key + "." + layerId.key - key for the pipelinelayerId - layer ifGeomajasException - when pipeline info not foundPipelineContext createContext()
Copyright © 2015 Geosparc. All Rights Reserved.