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:
|
||||
FileResource fileResource = (FileResource) res;
|
||||
String fileName=retrieveFileName(fileResource.getUrl());
|
||||
logger.debug("Entry: " + key + " = "+ fileResource+", FileName:"+fileName);
|
||||
return "FileName: "+fileName + ", PublicLink:"+fileResource.getUrl();
|
||||
logger.debug("Entry: " + key + "= "+ fileResource+", FileName="+fileName);
|
||||
return "FileName= "+fileName + ", PublicLink="+fileResource.getUrl();
|
||||
case IMAGE:
|
||||
ImageResource imageResource = (ImageResource) res;
|
||||
String imageName=retrieveFileName(imageResource.getLink());
|
||||
logger.debug("Entry: " + key + " = "+ imageResource+", ImageName:"+imageName);
|
||||
return "ImageName: " + imageName + ", PublicLink: "+ imageResource.getLink();
|
||||
logger.debug("Entry: " + key + " = "+ imageResource+", ImageName="+imageName);
|
||||
return "ImageName= " + imageName + ", PublicLink= "+ imageResource.getLink();
|
||||
case MAP:
|
||||
logger.debug("Entry: " + key + "= "+ res);
|
||||
return "Entry: " + key + " = "+ res;
|
||||
return "Entry: " + key + "= "+ res;
|
||||
case OBJECT:
|
||||
logger.debug("Entry: " + key + "= "+ res);
|
||||
return "Entry: " + key + " = "+ res;
|
||||
return "Entry: " + key + "= "+ res;
|
||||
case TABULAR:
|
||||
TableResource tableResource = (TableResource) res;
|
||||
String tableName=retrieveFileName(tableResource.getResourceId());
|
||||
logger.debug("TableName: " + tableName + ", ResourceId: "+ tableResource.getResourceId());
|
||||
return "TableName: " + tableName + ", ResourceId: "+ tableResource.getResourceId();
|
||||
logger.debug("TableName= " + tableName + ", ResourceId= "+ tableResource.getResourceId());
|
||||
return "TableName= " + tableName + ", ResourceId= "+ tableResource.getResourceId();
|
||||
default:
|
||||
logger.debug("Entry: " + key + "= "+ res);
|
||||
logger.debug("Entry= " + key + "= "+ res);
|
||||
return "Entry: " + key + "= "+ res;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue