org.gcube.application.aquamaps.aquamapsservice.impl.engine.predictions
Class BatchGenerator

java.lang.Object
  extended by org.gcube.application.aquamaps.aquamapsservice.impl.engine.predictions.BatchGenerator
All Implemented Interfaces:
BatchGeneratorI

public class BatchGenerator
extends Object
implements BatchGeneratorI


Constructor Summary
BatchGenerator(BatchGeneratorObjectFactory.BatchPoolType type)
           
BatchGenerator(String path, org.gcube.application.aquamaps.enabling.model.DBDescriptor credentials)
           
 
Method Summary
 String generateHSPECTable(String hcaf, String hspen, String filteredHSPEN, org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.types.AlgorithmType type, Boolean iscloud, String endpoint)
           
 void generateTable(TableGenerationConfiguration configuration)
           
 org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.environments.EnvironmentalExecutionReportItem getReport(boolean getResourceInfo)
           
 int getReportId()
           
 BatchGeneratorObjectFactory.BatchPoolType getType()
           
 void setConfiguration(String path, org.gcube.application.aquamaps.enabling.model.DBDescriptor credentials)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchGenerator

public BatchGenerator(String path,
                      org.gcube.application.aquamaps.enabling.model.DBDescriptor credentials)

BatchGenerator

public BatchGenerator(BatchGeneratorObjectFactory.BatchPoolType type)
Method Detail

generateHSPECTable

public String generateHSPECTable(String hcaf,
                                 String hspen,
                                 String filteredHSPEN,
                                 org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.types.AlgorithmType type,
                                 Boolean iscloud,
                                 String endpoint)
                          throws Exception
Specified by:
generateHSPECTable in interface BatchGeneratorI
Throws:
Exception

setConfiguration

public void setConfiguration(String path,
                             org.gcube.application.aquamaps.enabling.model.DBDescriptor credentials)
Specified by:
setConfiguration in interface BatchGeneratorI

getType

public BatchGeneratorObjectFactory.BatchPoolType getType()
Specified by:
getType in interface BatchGeneratorI

getReport

public org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.environments.EnvironmentalExecutionReportItem getReport(boolean getResourceInfo)
Specified by:
getReport in interface BatchGeneratorI

getReportId

public int getReportId()
Specified by:
getReportId in interface BatchGeneratorI

generateTable

public void generateTable(TableGenerationConfiguration configuration)
                   throws Exception
Specified by:
generateTable in interface BatchGeneratorI
Throws:
Exception


Copyright © 2013. All Rights Reserved.