public class AbstractEcologicalEngineMapper extends org.n52.wps.server.AbstractAnnotatedAlgorithm implements Observable, Cancellable
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEcologicalEngineMapper.StatusUpdater |
| Modifier and Type | Field and Description |
|---|---|
org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration |
config |
static HashMap<String,DatabaseInfo> |
databaseParametersMemoryCache |
String |
endTime |
InfrastructureDialoguer |
infrastructureDialoguer |
LinkedHashMap<String,Object> |
inputs |
LinkedHashMap<String,Object> |
outputs |
static HashMap<String,String> |
runningcomputations |
String |
startTime |
LinkedHashMap<String,Long> |
times |
String |
wpsExternalID |
| Constructor and Description |
|---|
AbstractEcologicalEngineMapper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addDatabaseInfo(String scope,
DatabaseInfo info) |
boolean |
cancel() |
static List<String> |
command(String cmdline,
String directory) |
static void |
deleteGeneratedFiles(List<File> generatedFiles) |
void |
deleteTemporaryTables(List<String> generatedInputTables) |
org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgent |
getComputationalAgent(String algorithmName) |
static DatabaseInfo |
getDatabaseInfo(String scope) |
List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> |
getInputParameters(String algorithmName) |
org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType |
getOutput(String algorithmName) |
boolean |
isCancelled() |
void |
manageUserToken() |
void |
run() |
void |
setEnvironmentVariableManager(EnvironmentVariableManager env) |
void |
setObserver(Observer o) |
void |
setWpsExternalID(String wpsExternalID) |
void |
updateComputationOnWS(float status,
String exception) |
void |
updateComputationOnWS(float status,
String exception,
List<StoredData> inputData,
List<File> generatedData) |
void |
updateStatus(float status,
boolean canWrite) |
createAlgorithmDescriptor, getAlgorithmClass, getAlgorithmInstance, runpublic LinkedHashMap<String,Object> inputs
public LinkedHashMap<String,Object> outputs
public LinkedHashMap<String,Long> times
public String startTime
public String endTime
public static HashMap<String,DatabaseInfo> databaseParametersMemoryCache
public String wpsExternalID
public org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config
public InfrastructureDialoguer infrastructureDialoguer
public void setWpsExternalID(String wpsExternalID)
public static DatabaseInfo getDatabaseInfo(String scope)
public static void addDatabaseInfo(String scope, DatabaseInfo info)
public org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgent getComputationalAgent(String algorithmName) throws Exception
Exceptionpublic List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> getInputParameters(String algorithmName) throws Exception
Exceptionpublic org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType getOutput(String algorithmName) throws Exception
Exceptionpublic void deleteTemporaryTables(List<String> generatedInputTables) throws Exception
Exceptionpublic static void deleteGeneratedFiles(List<File> generatedFiles) throws Exception
Exceptionpublic void manageUserToken()
public void updateStatus(float status,
boolean canWrite)
public void setEnvironmentVariableManager(EnvironmentVariableManager env)
public void updateComputationOnWS(float status,
String exception)
public void updateComputationOnWS(float status,
String exception,
List<StoredData> inputData,
List<File> generatedData)
public void setObserver(Observer o)
setObserver in interface Observablepublic boolean cancel()
cancel in interface Cancellablepublic boolean isCancelled()
isCancelled in interface CancellableCopyright © 2022. All Rights Reserved.