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