Package net.sf.redmine_mylyn.core

Examples of net.sf.redmine_mylyn.core.RedmineTaskTimeEntryMapper


      if(issue.getTimeEntries()!=null) {
        taskAttribute.setValue(""+issue.getTimeEntries().getSum()); //$NON-NLS-1$
       
       
        for (TimeEntry timeEntry : issue.getTimeEntries().getAll()) {
          RedmineTaskTimeEntryMapper mapper = new RedmineTaskTimeEntryMapper();
          mapper.setTimeEntryId(timeEntry.getId());
          mapper.setUser(repository.createPerson(""+timeEntry.getUserId())); //$NON-NLS-1$
          mapper.setActivityId(timeEntry.getActivityId());
          mapper.setHours(timeEntry.getHours());
          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

Related Classes of net.sf.redmine_mylyn.core.RedmineTaskTimeEntryMapper

Copyright © 2018 www.massapicom. 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.