Package org.eclipse.mylyn.tasks.core.data

Examples of org.eclipse.mylyn.tasks.core.data.TaskAttachmentMapper.applyTo()


        mapper.setFileName(attachment.getFilename());
        mapper.setLength((long)attachment.getFilesize());
        mapper.setUrl(String.format(IRedmineConstants.REDMINE_URL_ATTACHMENT_DOWNLOAD, repository.getUrl(), attachment.getId()));
       
        taskAttribute = taskData.getRoot().createAttribute(TaskAttribute.PREFIX_ATTACHMENT + mapper.getAttachmentId());
        mapper.applyTo(taskAttribute);
      }
    }
   
    if(issue.getTimeEntries()!=null && issue.getTimeEntries().isViewAllowed()) {
      //TODO kind/label
View Full Code Here


          mapper.setSpentOn(timeEntry.getSpentOn());
          mapper.setComments(timeEntry.getComments());
          mapper.setCustomValues(timeEntry.getCustomValues().getAll());
         
          taskAttribute = taskData.getRoot().createAttribute(IRedmineConstants.TASK_ATTRIBUTE_TIMEENTRY_PREFIX + mapper.getTimeEntryId());
          mapper.applyTo(taskAttribute, cfg);
        }
      }
     
    } 
      
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.