Class DMPMJob
- java.lang.Object
-
- org.gcube.dataanalysis.dataminer.poolmanager.service.DMPMJob
-
- Direct Known Subclasses:
ProductionPublishingJob,StagingJob
public abstract class DMPMJob extends Object
-
-
Constructor Summary
Constructors Constructor Description DMPMJob(SVNUpdater svnUpdater, Configuration configuration, Algorithm algorithm, Cluster cluster, String vREName, String category, String algorithm_type)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringbuildInfo()protected AnsibleWorkercreateWorker(Algorithm algo, Cluster dataminerCluster, boolean includeAlgorithmDependencies, String user)protected abstract voidexecute()protected voidexecute(NotificationHelper nh, CheckMethod methodChecker)protected intexecuteAnsibleWorker(AnsibleWorker worker, File logFile)voidsetStatusInformation(org.gcube.dataanalysis.dataminer.poolmanager.service.DMPMJob.STATUS exitStatus)Stringstart()
-
-
-
Constructor Detail
-
DMPMJob
public DMPMJob(SVNUpdater svnUpdater, Configuration configuration, Algorithm algorithm, Cluster cluster, String vREName, String category, String algorithm_type)
-
-
Method Detail
-
start
public String start()
-
createWorker
protected AnsibleWorker createWorker(Algorithm algo, Cluster dataminerCluster, boolean includeAlgorithmDependencies, String user)
-
setStatusInformation
public void setStatusInformation(org.gcube.dataanalysis.dataminer.poolmanager.service.DMPMJob.STATUS exitStatus)
-
execute
protected abstract void execute()
-
execute
protected void execute(NotificationHelper nh, CheckMethod methodChecker)
-
executeAnsibleWorker
protected int executeAnsibleWorker(AnsibleWorker worker, File logFile) throws GenericException
- Throws:
GenericException
-
buildInfo
public String buildInfo()
-
-