public interface ProcessExecutionContext
| Modifier and Type | Method and Description |
|---|---|
TypedProcessDescription |
getDescription() |
ProcessInputs |
getInputs() |
org.n52.shetland.ogc.wps.JobId |
getJobId() |
Optional<org.n52.shetland.ogc.wps.OutputDefinition> |
getOutputDefinition(org.n52.shetland.ogc.ows.OwsCode output) |
default Optional<org.n52.shetland.ogc.wps.OutputDefinition> |
getOutputDefinition(String output) |
ProcessOutputs |
getOutputs() |
default boolean |
hasOutputDefinition(org.n52.shetland.ogc.ows.OwsCode output) |
default boolean |
hasOutputDefinition(String output) |
void |
onDestroy(Runnable runnable)
Add an callback that is called once this
ProcessExecutionContext is destroyed. |
void |
setEstimatedCompletion(OffsetDateTime estimatedCompletion) |
void |
setNextPoll(OffsetDateTime nextPoll) |
void |
setPercentCompleted(Short percentCompleted) |
org.n52.shetland.ogc.wps.JobId getJobId()
ProcessInputs getInputs()
ProcessOutputs getOutputs()
Optional<org.n52.shetland.ogc.wps.OutputDefinition> getOutputDefinition(org.n52.shetland.ogc.ows.OwsCode output)
default Optional<org.n52.shetland.ogc.wps.OutputDefinition> getOutputDefinition(String output)
void setPercentCompleted(Short percentCompleted)
void setEstimatedCompletion(OffsetDateTime estimatedCompletion)
void setNextPoll(OffsetDateTime nextPoll)
TypedProcessDescription getDescription()
default boolean hasOutputDefinition(String output)
default boolean hasOutputDefinition(org.n52.shetland.ogc.ows.OwsCode output)
void onDestroy(Runnable runnable)
ProcessExecutionContext is destroyed.runnable - The Runnable to call.Copyright © 2016–2021 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.