public class TdConverterBeanGWT extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
TdConverterBeanGWT() |
| Modifier and Type | Method and Description |
|---|---|
static TdJobClassifierType |
convertClassifierToTdJobClassifierType(org.gcube.data.analysis.tabulardata.service.operation.JobClassifier classifier) |
static TdJobModel |
convertJobToTdJobModel(org.gcube.data.analysis.tabulardata.service.operation.Job job,
String jobId,
TaskTabularDataService taskTabularDataService) |
static List<TdTabularResourceModel> |
convertToListCollateralTabularResourceModel(List<org.gcube.data.analysis.tabulardata.service.tabular.TabularResource> result) |
static TdTableModel |
convertToTdTableModel(org.gcube.data.analysis.tabulardata.model.table.Table table) |
static TdJobStatusType |
convetToTdJobStatusType(org.gcube.data.analysis.tabulardata.commons.webservice.types.WorkerStatus workerStatus)
Use for job
|
static TdTaskStatusType |
convetToTdTaskStatusType(org.gcube.data.analysis.tabulardata.service.operation.TaskStatus taskStatus)
Use for task
|
static TdOperationModel |
operationDefinitionToOperationModel(org.gcube.data.analysis.tabulardata.commons.webservice.types.operations.OperationDefinition opd) |
static TdOperationModel |
operationExecutionToOperationModel(org.gcube.data.analysis.tabulardata.commons.webservice.types.operations.OperationExecution opd) |
static boolean |
taskIsCompleted(org.gcube.data.analysis.tabulardata.service.operation.TaskStatus taskStatus) |
static TdTaskModel |
taskToTdTaskModel(org.gcube.data.analysis.tabulardata.service.operation.Task task,
org.gcube.data.analysis.tabulardata.service.tabular.TabularResourceId trId,
TaskTabularDataService taskTabularDataService) |
public static TdOperationModel operationDefinitionToOperationModel(org.gcube.data.analysis.tabulardata.commons.webservice.types.operations.OperationDefinition opd) throws TdConverterException
TdConverterExceptionpublic static TdOperationModel operationExecutionToOperationModel(org.gcube.data.analysis.tabulardata.commons.webservice.types.operations.OperationExecution opd) throws TdConverterException
TdConverterExceptionpublic static TdTaskModel taskToTdTaskModel(org.gcube.data.analysis.tabulardata.service.operation.Task task, org.gcube.data.analysis.tabulardata.service.tabular.TabularResourceId trId, TaskTabularDataService taskTabularDataService) throws TdConverterException
TdConverterExceptionpublic static TdJobModel convertJobToTdJobModel(org.gcube.data.analysis.tabulardata.service.operation.Job job, String jobId, TaskTabularDataService taskTabularDataService)
job - jobId - taskTabularDataService - org.gcube.data.analysis.tabulardata.service.exception.NoSuchOperationExceptionpublic static TdJobClassifierType convertClassifierToTdJobClassifierType(org.gcube.data.analysis.tabulardata.service.operation.JobClassifier classifier)
classifier - public static TdTaskStatusType convetToTdTaskStatusType(org.gcube.data.analysis.tabulardata.service.operation.TaskStatus taskStatus)
taskStatus - public static TdJobStatusType convetToTdJobStatusType(org.gcube.data.analysis.tabulardata.commons.webservice.types.WorkerStatus workerStatus)
workerStatus - public static boolean taskIsCompleted(org.gcube.data.analysis.tabulardata.service.operation.TaskStatus taskStatus)
public static TdTableModel convertToTdTableModel(org.gcube.data.analysis.tabulardata.model.table.Table table)
public static List<TdTabularResourceModel> convertToListCollateralTabularResourceModel(List<org.gcube.data.analysis.tabulardata.service.tabular.TabularResource> result)
Copyright © 2014. All Rights Reserved.