Class InputsManager
- java.lang.Object
-
- org.gcube.dataanalysis.wps.statisticalmanager.synchserver.mapping.InputsManager
-
public class InputsManager extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringinputsSeparator
-
Constructor Summary
Constructors Constructor Description InputsManager(LinkedHashMap<String,Object> inputs, org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config, String computationId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInputServiceParameters(List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> agentInputs, InfrastructureDialoguer infrastructureDialoguer)voidconfigSupportDatabaseParameters(DatabaseInfo supportDatabaseInfo)voidcreateTable(String tableName, File tableFile, org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config, DatabaseInfo supportDatabaseInfo, String inputTableTemplate)org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfigurationgetConfig()List<File>getGeneratedInputFiles()List<String>getGeneratedTables()List<File>getLocalFiles(org.n52.wps.io.data.GenericFileData files, String inputName, List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> dataminerInputParameters)List<StoredData>getProvenanceData()StringinputNameFromHttpHeader(String url)booleanisXML(String fileContent)voidmergeWpsAndEcologicalInputs(DatabaseInfo supportDatabaseInfo, List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> dataminerInputParameters)StringreadOneLine(String filename)StringsuggestTableStructure(String header, String templatename)
-
-
-
Field Detail
-
inputsSeparator
public static String inputsSeparator
-
-
Constructor Detail
-
InputsManager
public InputsManager(LinkedHashMap<String,Object> inputs, org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config, String computationId)
-
-
Method Detail
-
getProvenanceData
public List<StoredData> getProvenanceData()
-
getConfig
public org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration getConfig()
-
configSupportDatabaseParameters
public void configSupportDatabaseParameters(DatabaseInfo supportDatabaseInfo) throws Exception
- Throws:
Exception
-
mergeWpsAndEcologicalInputs
public void mergeWpsAndEcologicalInputs(DatabaseInfo supportDatabaseInfo, List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> dataminerInputParameters) throws Exception
- Throws:
Exception
-
isXML
public boolean isXML(String fileContent)
-
inputNameFromHttpHeader
public String inputNameFromHttpHeader(String url) throws Exception
- Throws:
Exception
-
getLocalFiles
public List<File> getLocalFiles(org.n52.wps.io.data.GenericFileData files, String inputName, List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> dataminerInputParameters) throws Exception
- Throws:
Exception
-
createTable
public void createTable(String tableName, File tableFile, org.gcube.dataanalysis.ecoengine.configuration.AlgorithmConfiguration config, DatabaseInfo supportDatabaseInfo, String inputTableTemplate) throws Exception
- Throws:
Exception
-
addInputServiceParameters
public void addInputServiceParameters(List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> agentInputs, InfrastructureDialoguer infrastructureDialoguer) throws Exception
- Throws:
Exception
-
-