public class RepositoryManager extends Object
| Constructor and Description |
|---|
RepositoryManager() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAlgorithm(org.n52.shetland.ogc.ows.OwsCode id) |
Optional<IAlgorithm> |
getAlgorithm(org.n52.shetland.ogc.ows.OwsCode id)
Methods looks for Algorithm in all Repositories.
|
Set<org.n52.shetland.ogc.ows.OwsCode> |
getAlgorithms() |
Optional<TypedProcessInputDescription<?>> |
getInputForAlgorithm(org.n52.shetland.ogc.ows.OwsCode process,
org.n52.shetland.ogc.ows.OwsCode input) |
Optional<TypedProcessOutputDescription<?>> |
getOutputForAlgorithm(org.n52.shetland.ogc.ows.OwsCode process,
org.n52.shetland.ogc.ows.OwsCode output) |
Optional<TypedProcessDescription> |
getProcessDescription(org.n52.shetland.ogc.ows.OwsCode id) |
Optional<TypedProcessDescription> |
getProcessDescription(String id) |
Optional<AlgorithmRepository> |
getRepositoryForAlgorithm(org.n52.shetland.ogc.ows.OwsCode id) |
boolean |
registerAlgorithm(org.n52.shetland.ogc.ows.OwsCode id,
AlgorithmRepository repository) |
void |
setRepositories(Set<AlgorithmRepository> repositories) |
boolean |
unregisterAlgorithm(org.n52.shetland.ogc.ows.OwsCode id) |
@Inject public void setRepositories(Set<AlgorithmRepository> repositories)
public Optional<IAlgorithm> getAlgorithm(org.n52.shetland.ogc.ows.OwsCode id)
id - The name of the algorithm classpublic Set<org.n52.shetland.ogc.ows.OwsCode> getAlgorithms()
public boolean containsAlgorithm(org.n52.shetland.ogc.ows.OwsCode id)
public Optional<AlgorithmRepository> getRepositoryForAlgorithm(org.n52.shetland.ogc.ows.OwsCode id)
public Optional<TypedProcessInputDescription<?>> getInputForAlgorithm(org.n52.shetland.ogc.ows.OwsCode process, org.n52.shetland.ogc.ows.OwsCode input)
public Optional<TypedProcessOutputDescription<?>> getOutputForAlgorithm(org.n52.shetland.ogc.ows.OwsCode process, org.n52.shetland.ogc.ows.OwsCode output)
public boolean registerAlgorithm(org.n52.shetland.ogc.ows.OwsCode id,
AlgorithmRepository repository)
public boolean unregisterAlgorithm(org.n52.shetland.ogc.ows.OwsCode id)
public Optional<TypedProcessDescription> getProcessDescription(String id)
public Optional<TypedProcessDescription> getProcessDescription(org.n52.shetland.ogc.ows.OwsCode id)
Copyright © 2016–2023 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.