@Configurable public class FileBasedResultPersistence extends java.lang.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() |
java.util.Set<org.n52.shetland.ogc.wps.JobId> |
getJobIds() |
java.util.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(java.io.File baseDirectory) |
void |
setCheckInterval(java.lang.String checkIntervalString) |
void |
setDuration(java.lang.String durationString) |
void |
setReferencer(java.util.Optional<OutputReferencer> referencer) |
void |
setReferencer(OutputReferencer referencer) |
@Setting(value="misc.baseDirectory") public void setBasePath(java.io.File baseDirectory)
@Setting(value="misc.duration") public void setDuration(java.lang.String durationString)
@Setting(value="misc.checkInterval") public void setCheckInterval(java.lang.String checkIntervalString)
@Inject public void setReferencer(java.util.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 java.util.Set<org.n52.shetland.ogc.wps.JobId> getJobIds()
getJobIds in interface ResultPersistencepublic java.util.Set<org.n52.shetland.ogc.wps.JobId> getJobIds(org.n52.shetland.ogc.ows.OwsCode processId)
getJobIds in interface ResultPersistenceCopyright © 2016–2019 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.