public class TaxonomyJobUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
COMPLETED |
static String |
FAILED |
protected static org.apache.log4j.Logger |
logger |
static String |
PENDING |
static String |
RUNNING |
Constructor and Description |
---|
TaxonomyJobUtil() |
Modifier and Type | Method and Description |
---|---|
static int |
changeStatusTaxonomyJobById(String jobIdentifier,
DownloadState state,
TaxonomyJobPersistence taxonomyJobDAO) |
static JobTaxonomyModel |
convertJob(TaxonomyJob job,
org.gcube.data.spd.stubs.types.Status statusResponse,
TaxonomyJobPersistence speciesJobDao) |
static int |
deleteTaxonomyJobById(String jobIdentifier,
TaxonomyJobPersistence taxonomyJobDao) |
static DownloadState |
getDownloadState(String status) |
public static final String COMPLETED
public static final String FAILED
public static final String RUNNING
public static final String PENDING
protected static org.apache.log4j.Logger logger
public static JobTaxonomyModel convertJob(TaxonomyJob job, org.gcube.data.spd.stubs.types.Status statusResponse, TaxonomyJobPersistence speciesJobDao) throws SQLException
SQLException
public static DownloadState getDownloadState(String status)
public static int deleteTaxonomyJobById(String jobIdentifier, TaxonomyJobPersistence taxonomyJobDao) throws SQLException
SQLException
public static int changeStatusTaxonomyJobById(String jobIdentifier, DownloadState state, TaxonomyJobPersistence taxonomyJobDAO)
Copyright © 2016. All Rights Reserved.