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