public abstract class AbstractEwE
extends org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithm
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CONFIG_FILE_NAME |
| Constructor and Description |
|---|
AbstractEwE() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkForErrors(File executionRoot) |
protected void |
downloadAndSetupEwE()
The goal of this method is to make input files available in the working.
|
String |
getDescription() |
String |
getExecutionId() |
org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType |
getOutput() |
protected String |
getOutputFileName() |
void |
init() |
protected abstract void |
prepareInput()
The goal of this method is to make input files available in the working
directory.
|
protected void |
prepareOutput()
The goal of this method is to make input files available in the working.
|
protected void |
process() |
protected void |
removeWorkingDirectory()
The goal of this method is to make input files available in the working
directory.
|
protected void |
setupWorkingDirectory()
The goal of this method is to make input files available in the working
directory.
|
void |
shutdown() |
addDoubleInput, addEnumerateInput, addIntegerInput, addOutputString, addRemoteDatabaseInput, addStringInput, compute, getInfrastructure, getInputParameter, getInputParameters, getResourceLoad, getResources, getStatus, log, setConfiguration, setInputParametersprotected static String CONFIG_FILE_NAME
public void init()
throws Exception
init in interface org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgentinit in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithmExceptionpublic String getDescription()
getDescription in interface org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgentgetDescription in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithmprotected void setupWorkingDirectory()
throws Exception
Exceptionprotected abstract void prepareInput()
throws Exception
Exceptionprotected void downloadAndSetupEwE()
throws Exception
Exceptionprotected void prepareOutput()
throws Exception
Exceptionprotected void removeWorkingDirectory()
throws Exception
Exceptionprotected void process()
throws Exception
process in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithmExceptionpublic void shutdown()
shutdown in interface org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgentshutdown in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithmprotected String getOutputFileName()
public org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType getOutput()
getOutput in interface org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgentgetOutput in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithmpublic String getExecutionId()
Copyright © 2016. All Rights Reserved.