public interface TransactionalAlgorithmRepository extends AlgorithmRepository
AlgorithmRepository that is able to accept application packages
at runtime.| Modifier and Type | Method and Description |
|---|---|
default boolean |
containsAlgorithm(org.n52.shetland.ogc.ows.OwsCode id) |
Optional<org.n52.shetland.ogc.wps.ap.ApplicationPackage> |
getApplicationPackage(org.n52.shetland.ogc.ows.OwsCode id)
Get the
ApplicationPackage with the specified id. |
default Optional<org.n52.shetland.ogc.wps.ap.ApplicationPackage> |
getApplicationPackage(String id)
Get the
ApplicationPackage with the specified id. |
default Optional<TypedProcessDescription> |
getProcessDescription(org.n52.shetland.ogc.ows.OwsCode id) |
boolean |
isSupported(org.n52.shetland.ogc.wps.ap.ApplicationPackage applicationPackage)
Checks if the
ApplicationPackage is supported by this repository. |
org.n52.shetland.ogc.ows.OwsCode |
register(org.n52.shetland.ogc.wps.ap.ApplicationPackage applicationPackage)
Registers the
ApplicationPackage in this repository. |
default void |
unregister(org.n52.shetland.ogc.wps.ap.ApplicationPackage applicationPackage)
Unregisters the
ApplicationPackage. |
void |
unregister(org.n52.shetland.ogc.ows.OwsCode id)
Unregisters the
ApplicationPackage with the specified id. |
containsAlgorithm, destroy, getAlgorithm, getAlgorithm, getAlgorithmNames, getProcessDescription, initdefault Optional<TypedProcessDescription> getProcessDescription(org.n52.shetland.ogc.ows.OwsCode id)
getProcessDescription in interface AlgorithmRepositorydefault boolean containsAlgorithm(org.n52.shetland.ogc.ows.OwsCode id)
containsAlgorithm in interface AlgorithmRepositorydefault Optional<org.n52.shetland.ogc.wps.ap.ApplicationPackage> getApplicationPackage(String id)
ApplicationPackage with the specified id.id - The identifier of the ApplicationPackage.ApplicationPackage or Optional.empty() if the identifier is unknown.Optional<org.n52.shetland.ogc.wps.ap.ApplicationPackage> getApplicationPackage(org.n52.shetland.ogc.ows.OwsCode id)
ApplicationPackage with the specified id.id - The identifier of the ApplicationPackage.ApplicationPackage or Optional.empty() if the identifier is unknown.boolean isSupported(org.n52.shetland.ogc.wps.ap.ApplicationPackage applicationPackage)
ApplicationPackage is supported by this repository.applicationPackage - The ApplicationPackage.ApplicationPackage is supported.org.n52.shetland.ogc.ows.OwsCode register(org.n52.shetland.ogc.wps.ap.ApplicationPackage applicationPackage)
throws DuplicateProcessException,
UnsupportedProcessException
ApplicationPackage in this repository.applicationPackage - The ApplicationPackage.ApplicationPackage.DuplicateProcessException - If the identifier of the ApplicationPackage already exists within
this repository.UnsupportedProcessException - If The ApplicationPackage is not supported.isSupported(ApplicationPackage)default void unregister(org.n52.shetland.ogc.wps.ap.ApplicationPackage applicationPackage)
throws ProcessNotFoundException,
UndeletableProcessException
ApplicationPackage.applicationPackage - The ApplicationPackage.ProcessNotFoundException - If the ApplicationPackage is not registered in this repository. *UndeletableProcessException - If the ApplicationPackage cannot be deleted.void unregister(org.n52.shetland.ogc.ows.OwsCode id)
throws ProcessNotFoundException,
UndeletableProcessException
ApplicationPackage with the specified id.id - The identifier of the ApplicationPackageProcessNotFoundException - If the id is not associated with an registered ApplicationPackage.UndeletableProcessException - If the ApplicationPackage cannot be deleted.Copyright © 2016–2021 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.