public class GenericWorker extends StandardLocalInfraAlgorithm
| Modifier and Type | Field and Description |
|---|---|
static String |
AlgorithmClassParameter |
static String |
ConfigurationFileParameter |
static String |
DeleteTemporaryFilesParameter |
static String |
IsDuplicateParameter |
static String |
LeftSetStartIndexParameter |
static String |
NumberOfLeftElementsToProcessParameter |
static String |
NumberOfRightElementsToProcessParameter |
static String |
OutputParameter |
static String |
RightSetStartIndexParameter |
static String |
SessionParameter |
static String |
TASK_FAILURE |
static String |
TASK_SUCCESS |
static String |
TASK_UNDEFINED |
| Constructor and Description |
|---|
GenericWorker() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeAlgorithm(String algorithmClass,
int rightStartIndex,
int numberOfRightElementsToProcess,
int leftStartIndex,
int numberOfLeftElementsToProcess,
boolean isduplicate,
String session,
File nodeConfigurationFileObject,
boolean deleteFiles) |
String |
getDescription() |
void |
init() |
protected void |
process() |
protected void |
setInputParameters() |
void |
shutdown() |
sendNotificationaddBooleanInput, addDoubleInput, addEnumerateInput, addFileInput, addIntegerInput, addOutputString, addRemoteDatabaseInput, addStringInput, compute, getInfrastructure, getInputParameter, getInputParameters, getOutput, getResourceLoad, getResources, getStatus, log, setConfigurationpublic static String AlgorithmClassParameter
public static String RightSetStartIndexParameter
public static String NumberOfRightElementsToProcessParameter
public static String LeftSetStartIndexParameter
public static String NumberOfLeftElementsToProcessParameter
public static String IsDuplicateParameter
public static String SessionParameter
public static String ConfigurationFileParameter
public static String DeleteTemporaryFilesParameter
public static String OutputParameter
public static String TASK_SUCCESS
public static String TASK_FAILURE
public static String TASK_UNDEFINED
public void executeAlgorithm(String algorithmClass, int rightStartIndex, int numberOfRightElementsToProcess, int leftStartIndex, int numberOfLeftElementsToProcess, boolean isduplicate, String session, File nodeConfigurationFileObject, boolean deleteFiles) throws Exception
Exceptionpublic 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.AlgorithmDescriptorgetDescription in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithmprotected void process()
throws Exception
process in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithmExceptionprotected void setInputParameters()
setInputParameters in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithmpublic void shutdown()
shutdown in interface org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgentshutdown in class org.gcube.dataanalysis.ecoengine.interfaces.StandardLocalExternalAlgorithmCopyright © 2017. All Rights Reserved.