just some fixes in getOutputMessage
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/Common/workspace-task-executor-library@169332 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
6d1d797bbd
commit
d784d26f70
|
@ -279,26 +279,26 @@ public class DMConverter {
|
||||||
case FILE:
|
case FILE:
|
||||||
FileResource fileResource = (FileResource) res;
|
FileResource fileResource = (FileResource) res;
|
||||||
String fileName=retrieveFileName(fileResource.getUrl());
|
String fileName=retrieveFileName(fileResource.getUrl());
|
||||||
logger.debug("Entry: " + key + " = "+ fileResource+", FileName:"+fileName);
|
logger.debug("Entry: " + key + "= "+ fileResource+", FileName="+fileName);
|
||||||
return "FileName: "+fileName + ", PublicLink:"+fileResource.getUrl();
|
return "FileName= "+fileName + ", PublicLink="+fileResource.getUrl();
|
||||||
case IMAGE:
|
case IMAGE:
|
||||||
ImageResource imageResource = (ImageResource) res;
|
ImageResource imageResource = (ImageResource) res;
|
||||||
String imageName=retrieveFileName(imageResource.getLink());
|
String imageName=retrieveFileName(imageResource.getLink());
|
||||||
logger.debug("Entry: " + key + " = "+ imageResource+", ImageName:"+imageName);
|
logger.debug("Entry: " + key + " = "+ imageResource+", ImageName="+imageName);
|
||||||
return "ImageName: " + imageName + ", PublicLink: "+ imageResource.getLink();
|
return "ImageName= " + imageName + ", PublicLink= "+ imageResource.getLink();
|
||||||
case MAP:
|
case MAP:
|
||||||
logger.debug("Entry: " + key + "= "+ res);
|
logger.debug("Entry: " + key + "= "+ res);
|
||||||
return "Entry: " + key + " = "+ res;
|
return "Entry: " + key + "= "+ res;
|
||||||
case OBJECT:
|
case OBJECT:
|
||||||
logger.debug("Entry: " + key + "= "+ res);
|
logger.debug("Entry: " + key + "= "+ res);
|
||||||
return "Entry: " + key + " = "+ res;
|
return "Entry: " + key + "= "+ res;
|
||||||
case TABULAR:
|
case TABULAR:
|
||||||
TableResource tableResource = (TableResource) res;
|
TableResource tableResource = (TableResource) res;
|
||||||
String tableName=retrieveFileName(tableResource.getResourceId());
|
String tableName=retrieveFileName(tableResource.getResourceId());
|
||||||
logger.debug("TableName: " + tableName + ", ResourceId: "+ tableResource.getResourceId());
|
logger.debug("TableName= " + tableName + ", ResourceId= "+ tableResource.getResourceId());
|
||||||
return "TableName: " + tableName + ", ResourceId: "+ tableResource.getResourceId();
|
return "TableName= " + tableName + ", ResourceId= "+ tableResource.getResourceId();
|
||||||
default:
|
default:
|
||||||
logger.debug("Entry: " + key + "= "+ res);
|
logger.debug("Entry= " + key + "= "+ res);
|
||||||
return "Entry: " + key + "= "+ res;
|
return "Entry: " + key + "= "+ res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue