@Configurable public class FileBasedResultPersistence extends Object implements ResultPersistence, org.n52.janmayen.lifecycle.Constructable, org.n52.janmayen.lifecycle.Destroyable
| Constructor and Description |
|---|
FileBasedResultPersistence() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
Set<org.n52.shetland.ogc.wps.JobId> |
getJobIds() |
Set<org.n52.shetland.ogc.wps.JobId> |
getJobIds(org.n52.shetland.ogc.ows.OwsCode processId) |
org.n52.shetland.ogc.wps.data.ProcessData |
getOutput(OutputReference reference) |
org.n52.shetland.ogc.wps.Result |
getResult(org.n52.shetland.ogc.wps.JobId jobId) |
org.n52.shetland.ogc.wps.StatusInfo |
getStatus(org.n52.shetland.ogc.wps.JobId jobId) |
void |
init() |
void |
save(EngineProcessExecutionContext context) |
void |
setBasePath(File baseDirectory) |
void |
setCheckInterval(String checkIntervalString) |
void |
setDuration(String durationString) |
void |
setReferencer(Optional<OutputReferencer> referencer) |
void |
setReferencer(OutputReferencer referencer) |
@Setting(value="misc.baseDirectory") public void setBasePath(File baseDirectory)
@Setting(value="misc.duration") public void setDuration(String durationString)
@Setting(value="misc.checkInterval") public void setCheckInterval(String checkIntervalString)
@Inject public void setReferencer(Optional<OutputReferencer> referencer)
public void setReferencer(OutputReferencer referencer)
public void init()
init in interface org.n52.janmayen.lifecycle.Constructablepublic void destroy()
destroy in interface org.n52.janmayen.lifecycle.Destroyablepublic void save(EngineProcessExecutionContext context)
save in interface ResultPersistencepublic org.n52.shetland.ogc.wps.StatusInfo getStatus(org.n52.shetland.ogc.wps.JobId jobId)
throws EngineException
getStatus in interface ResultPersistenceEngineExceptionpublic org.n52.shetland.ogc.wps.Result getResult(org.n52.shetland.ogc.wps.JobId jobId)
throws EngineException
getResult in interface ResultPersistenceEngineExceptionpublic org.n52.shetland.ogc.wps.data.ProcessData getOutput(OutputReference reference) throws EngineException
getOutput in interface ResultPersistenceEngineExceptionpublic Set<org.n52.shetland.ogc.wps.JobId> getJobIds()
getJobIds in interface ResultPersistencepublic Set<org.n52.shetland.ogc.wps.JobId> getJobIds(org.n52.shetland.ogc.ows.OwsCode processId)
getJobIds in interface ResultPersistenceCopyright © 2016–2023 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.