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

Examples of org.eclipse.mylyn.tasks.core.data.TaskAttribute


public class IssueMapper {

  public static void updateTaskData(TaskRepository repository, TaskData taskData, Configuration cfg, Issue issue) throws CoreException {

    TaskAttribute root = taskData.getRoot();
    TaskAttribute taskAttribute = null;
   
    /* Default Attributes */
    for (RedmineAttribute redmineAttribute : RedmineAttribute.values()) {
      String taskKey = redmineAttribute.getTaskKey();
      if(taskKey==null) {
        continue;
      }
     
      taskAttribute = root.getAttribute(taskKey);
      if (taskAttribute!=null) {
        Field field = redmineAttribute.getAttributeField();
       
        if(field!=null) {
          try {
            setValue(taskAttribute, field.get(issue));
          } catch (Exception e) {
            IStatus status = RedmineCorePlugin.toStatus(e, Messages.ERRMSG_CANT_READ_PROPERTY_X, redmineAttribute.name());
            ILogService log = RedmineCorePlugin.getLogService(IssueMapper.class);
            log.error(e, status.getMessage());
            throw new CoreException(status);
          }
        } else {
          switch (redmineAttribute) {
          case WATCHERS:
            for(int watcherId : issue.getWatcherIds()) {
              taskAttribute.addValue(Integer.toString(watcherId));
            }
            break;
          default:
            break;
          }
         
        }
      }
    }
   
    /* Custom Attributes */
    if(issue.getCustomValues()!=null) {
      for (CustomValue customValue : issue.getCustomValues().getAll()) {
        taskAttribute = taskData.getRoot().getAttribute(IRedmineConstants.TASK_KEY_PREFIX_ISSUE_CF + customValue.getCustomFieldId());
        if(taskAttribute!=null) {
          setValue(taskAttribute, customValue.getValue());
        }
      }
    }
   
    /* Journals */
    if(issue.getJournals()!=null) {
      int jrnlCount=1;
      for (Journal journal : issue.getJournals().getAll()) {
        TaskCommentMapper mapper = new TaskCommentMapper();
        mapper.setAuthor(repository.createPerson(""+journal.getUserId())); //$NON-NLS-1$
        mapper.setCreationDate(journal.getCreatedOn());
        mapper.setText(journal.getNotes());
        String issueUrl = RedmineRepositoryConnector.getTaskUrl(repository.getUrl(), issue.getId());
        mapper.setUrl(issueUrl + String.format(IRedmineConstants.REDMINE_URL_PART_COMMENT, journal.getId()));
        mapper.setNumber(jrnlCount++);
        mapper.setCommentId(String.valueOf(journal.getId()));
       
        taskAttribute = taskData.getRoot().createAttribute(TaskAttribute.PREFIX_COMMENT + mapper.getCommentId());
        mapper.applyTo(taskAttribute);
      }
    }

    /* Attachments */
    if(issue.getAttachments()!=null) {
      for (Attachment  attachment : issue.getAttachments().getAll()) {
        TaskAttachmentMapper mapper = new TaskAttachmentMapper();
        mapper.setAttachmentId("" + attachment.getId()); //$NON-NLS-1$
        mapper.setAuthor(repository.createPerson(""+attachment.getAuthorId())); //$NON-NLS-1$
        mapper.setDescription(attachment.getDescription());
        mapper.setCreationDate(attachment.getCreatedOn());
        mapper.setContentType(attachment.getContentType());
        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
      taskAttribute = taskData.getRoot().createAttribute(IRedmineConstants.TASK_ATTRIBUTE_TIMEENTRY_TOTAL);
     
      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());
View Full Code Here


  }

  public static Issue createIssue(TaskRepository repository, TaskData taskData, Set<TaskAttribute> oldAttributes, Configuration cfg) throws CoreException {
    Issue issue = taskData.getTaskId().isEmpty() ? new Issue() : new Issue(RedmineUtil.parseIntegerId(taskData.getTaskId()));

    TaskAttribute root = taskData.getRoot();
    TaskAttribute taskAttribute = null;
   
    /* Default Attributes */
    for (RedmineAttribute redmineAttribute : RedmineAttribute.values()) {
      if(!redmineAttribute.isOperationValue() && !redmineAttribute.isReadOnly()) {
        setProperty(redmineAttribute, root, issue);
      }
    }

   
    /* Watcher */
    TaskAttribute watchersAttribute = root.getAttribute(RedmineAttribute.WATCHERS.getTaskKey());
    if (watchersAttribute!=null) {
      LinkedHashSet<String> watchers = new LinkedHashSet<String>(watchersAttribute.getValues());
     
      TaskAttribute newWatcherAttribute = watchersAttribute.getAttribute(RedmineAttribute.WATCHERS_ADD.getTaskKey());
      if (newWatcherAttribute !=null && !newWatcherAttribute.getMetaData().isReadOnly()) {
        issue.setWatchersAddAllowed(true);
        for (String newWatcher : newWatcherAttribute.getValues()) {
          watchers.add(newWatcher);
        }
      }
     
      TaskAttribute oldWatcherAttribute = watchersAttribute.getAttribute(RedmineAttribute.WATCHERS_REMOVE.getTaskKey());
      if (oldWatcherAttribute !=null && !oldWatcherAttribute.getMetaData().isReadOnly()) {
        issue.setWatchersDeleteAllowed(true);
        for (String oldWatcher : oldWatcherAttribute.getValues()) {
          watchers.remove(oldWatcher);
        }
      }
     
      if (watchers.size()>0) {
View Full Code Here

   * @param cfg the redmine configuration
   * @param task the mylyn task
   */
  private static void setTaskKind(Issue issue, Configuration cfg, TaskAttribute task) {
    if (issue.getTrackerId()!=0) {
      TaskAttribute kind = task.getAttribute(TaskAttribute.TASK_KIND);
      if (kind==null) {
        kind = task.createAttribute(TaskAttribute.TASK_KIND);
      }
      kind.setValue(cfg.getTrackers().getById(issue.getTrackerId()).getName());
    }
  }
View Full Code Here

  private static String getValue(TaskData taskData, RedmineAttribute redmineAttribute) {
    return getValue(taskData, redmineAttribute.getTaskKey());
  }
 
  private static String getValue(TaskData taskData, String taskKey) {
    TaskAttribute attribute = taskData.getRoot().getAttribute(taskKey);
    return attribute==null ? "" : attribute.getValue(); //$NON-NLS-1$
  }
View Full Code Here

  }
 
  private static void setProperty(RedmineAttribute redmineAttribute, TaskAttribute root, Issue issue) throws CoreException {
    Field field = redmineAttribute.getAttributeField();
    if(!redmineAttribute.isReadOnly() && field!=null) {
      TaskAttribute taskAttribute = root.getAttribute(redmineAttribute.getTaskKey());
      if(taskAttribute !=null ) {
        try {
          switch(redmineAttribute) {
          case SUMMARY:
          case DESCRIPTION:
          case COMMENT: field.set(issue, taskAttribute.getValue()); break;
          case PROGRESS:field.setInt(issue, taskAttribute.getValue().isEmpty() ? 0 : Integer.parseInt(taskAttribute.getValue())); break;
          case ESTIMATED:
            if (!taskAttribute.getValue().isEmpty())
              field.set(issue, new Float(taskAttribute.getValue()));
            break;
          default:
            if(redmineAttribute.getType().equals(TaskAttribute.TYPE_SINGLE_SELECT) || redmineAttribute.getType().equals(TaskAttribute.TYPE_PERSON) || redmineAttribute.getType().equals(IRedmineConstants.EDITOR_TYPE_PERSON) || redmineAttribute==RedmineAttribute.PARENT) {
              int idVal = RedmineUtil.parseIntegerId(taskAttribute.getValue());
              if(idVal>0) {
                field.setInt(issue, idVal);
              }
            } else
           
            if(redmineAttribute.getType().equals(TaskAttribute.TYPE_DATE)) {
              if (!taskAttribute.getValue().isEmpty()) {
                field.set(issue, RedmineUtil.parseDate(taskAttribute.getValue()));
              }
            }
          }
        } catch (Exception e) {
          IStatus status = RedmineCorePlugin.toStatus(e, Messages.ERRMSG_CANT_READ_PROPERTY_X, redmineAttribute.name());
View Full Code Here

    taskAttribute.getMetaData().defaults().setType(IRedmineConstants.TASK_ATTRIBUTE_TIMEENTRY);
    if (getTimeEntryId() > 0) {
      mapper.setIntegerValue(taskAttribute, getTimeEntryId());
    }
    if (getHours() > 0f) {
      TaskAttribute child = taskAttribute.createMappedAttribute(IRedmineConstants.TASK_ATTRIBUTE_TIMEENTRY_HOURS);
      child.getMetaData().defaults().setType(RedmineAttribute.TIME_ENTRY_HOURS.getType());
      child.getMetaData().setLabel(RedmineAttribute.TIME_ENTRY_HOURS.getLabel());
      mapper.setValue(child, ""+getHours()); //$NON-NLS-1$
    }
    if (getActivityId()>0) {
      TaskAttribute child = taskAttribute.createMappedAttribute(IRedmineConstants.TASK_ATTRIBUTE_TIMEENTRY_ACTIVITY);
      child.getMetaData().defaults().setType(RedmineAttribute.TIME_ENTRY_ACTIVITY.getType());
      child.getMetaData().setLabel(RedmineAttribute.TIME_ENTRY_ACTIVITY.getLabel());
      mapper.setIntegerValue(child, getActivityId());

      //Option for ActivityId
      if(project!=null) {
        TimeEntryActivity activity = project.getTimeEntryActivities().getById(getActivityId());
        if (activity!=null) {
          child.putOption(""+activity.getId(), activity.getName()); //$NON-NLS-1$
        }
      }
    }
    if (getUser() != null) {
      TaskAttribute child = taskAttribute.createMappedAttribute(IRedmineConstants.TASK_ATTRIBUTE_TIMEENTRY_AUTHOR);
      mapper.setRepositoryPerson(child, getUser());
    }
    if (getSpentOn()!=null) {
      TaskAttribute child = taskAttribute.createMappedAttribute(IRedmineConstants.TASK_ATTRIBUTE_TIMEENTRY_SPENTON);
      child.getMetaData().defaults().setType(TaskAttribute.TYPE_DATE);
      mapper.setDateValue(child, getSpentOn());
    }
    if (getComments()!=null) {
      TaskAttribute child = taskAttribute.createMappedAttribute(IRedmineConstants.TASK_ATTRIBUTE_TIMEENTRY_COMMENTS);
      child.getMetaData().defaults().setType(RedmineAttribute.TIME_ENTRY_COMMENTS.getType());
      child.getMetaData().setLabel(RedmineAttribute.TIME_ENTRY_COMMENTS.getLabel());
      mapper.setValue(child, getComments());
    }
    if (getCustomValues()!=null) {
      for (CustomValue customValue : getCustomValues()) {
        TaskAttribute child = taskAttribute.createMappedAttribute(IRedmineConstants.TASK_KEY_PREFIX_TIMEENTRY_CF + customValue.getCustomFieldId());
       
        CustomField customField = configuration.getCustomFields().getById(customValue.getCustomFieldId());
        if(customField!=null) {
          child.getMetaData().defaults().setType(RedmineUtil.getTaskAttributeType(customField));
          child.setValue(customValue.getValue());
          child.getMetaData().setLabel(customField.getName());
        }
      }
    }
  }
View Full Code Here

  @Test
  public void testUpdateTaskData() throws Exception{
    Issue issue = TestData.issue2;
    TaskData taskData = buildEmptyTaskData(issue);
   
    TaskAttribute root = taskData.getRoot();
    TaskAttribute attribute = null;

    IssueMapper.updateTaskData(repository, taskData, cfg, issue);

    assertEquals(issue.getSubject(), root.getAttribute(RedmineAttribute.SUMMARY.getTaskKey()).getValue());
    assertEquals(issue.getDescription(), root.getAttribute(RedmineAttribute.DESCRIPTION.getTaskKey()).getValue());
    assertEquals(""+issue.getCreatedOn().getTime(), root.getAttribute(RedmineAttribute.DATE_SUBMITTED.getTaskKey()).getValue());
    assertEquals(""+issue.getUpdatedOn().getTime(), root.getAttribute(RedmineAttribute.DATE_UPDATED.getTaskKey()).getValue());
    assertEquals(""+issue.getTrackerId(), root.getAttribute(RedmineAttribute.TRACKER.getTaskKey()).getValue());
    assertEquals(""+issue.getProjectId(), root.getAttribute(RedmineAttribute.PROJECT.getTaskKey()).getValue());
    assertEquals(""+issue.getStatusId(), root.getAttribute(RedmineAttribute.STATUS.getTaskKey()).getValue());
    assertEquals(""+issue.getStatusId(), root.getAttribute(RedmineAttribute.STATUS_CHG.getTaskKey()).getValue());
    assertEquals(""+issue.getPriorityId(), root.getAttribute(RedmineAttribute.PRIORITY.getTaskKey()).getValue());
    //TODO watched
    assertEquals("[1, 3]", Arrays.toString(root.getAttribute(RedmineAttribute.WATCHERS.getTaskKey()).getValues().toArray(new String[2])));
    assertEquals("", root.getAttribute(RedmineAttribute.WATCHERS.getTaskKey()).getAttribute(RedmineAttribute.WATCHERS_ADD.getTaskKey()).getValue());
    assertEquals("", root.getAttribute(RedmineAttribute.WATCHERS.getTaskKey()).getAttribute(RedmineAttribute.WATCHERS_REMOVE.getTaskKey()).getValue());
    assertEquals(""+issue.getStartDate().getTime(), root.getAttribute(RedmineAttribute.DATE_START.getTaskKey()).getValue());
    assertEquals("", root.getAttribute(RedmineAttribute.DATE_DUE.getTaskKey()).getValue());
    assertEquals(""+issue.getDoneRatio(), root.getAttribute(RedmineAttribute.PROGRESS.getTaskKey()).getValue());
    assertEquals(""+issue.getEstimatedHours(), root.getAttribute(RedmineAttribute.ESTIMATED.getTaskKey()).getValue());
    assertEquals(""+issue.getAuthorId(), root.getAttribute(RedmineAttribute.REPORTER.getTaskKey()).getValue());
    assertEquals("", root.getAttribute(RedmineAttribute.CATEGORY.getTaskKey()).getValue());
    assertEquals(""+issue.getAssignedToId(), root.getAttribute(RedmineAttribute.ASSIGNED_TO.getTaskKey()).getValue());
    assertEquals(""+issue.getFixedVersionId(), root.getAttribute(RedmineAttribute.VERSION.getTaskKey()).getValue());
    assertEquals(""+issue.getParentId(), root.getAttribute(RedmineAttribute.PARENT.getTaskKey()).getValue());
    assertEquals("[3, 4]", Arrays.toString(root.getAttribute(RedmineAttribute.SUBTASKS.getTaskKey()).getValues().toArray()));
    //TODO available Status

    /* CustomValues */
    CustomValue cv = issue.getCustomValues().get(5);
    attribute = root.getAttribute(IRedmineConstants.TASK_KEY_PREFIX_ISSUE_CF+cv.getCustomFieldId());
    assertNotNull(attribute);
    assertEquals("", attribute.getValue());
    cv = issue.getCustomValues().get(11);
    attribute = root.getAttribute(IRedmineConstants.TASK_KEY_PREFIX_ISSUE_CF+cv.getCustomFieldId());
    assertNotNull(attribute);
    assertEquals(cv.getValue(), attribute.getValue());
    cv = issue.getCustomValues().get(12);
    attribute = root.getAttribute(IRedmineConstants.TASK_KEY_PREFIX_ISSUE_CF+cv.getCustomFieldId());
    assertNotNull(attribute);
    assertEquals(cv.getValue(), attribute.getValue());
    cv = issue.getCustomValues().get(13);
    attribute = root.getAttribute(IRedmineConstants.TASK_KEY_PREFIX_ISSUE_CF+cv.getCustomFieldId());
    assertNotNull(attribute);
    assertEquals(""+df.parse(cv.getValue()).getTime(), attribute.getValue());

    /* Journals */
    /* affected by TaskAttributeMapper, RedmineTaskAttributeMapper */
    attribute = root.getAttribute(TaskAttribute.PREFIX_COMMENT + "3");
    Journal journal = issue.getJournals().get(3);
    assertNotNull(attribute);
    assertEquals(""+journal.getId(), attribute.getValue());
    assertEquals("1", attribute.getAttribute(TaskAttribute.COMMENT_NUMBER).getValue());
    assertEquals(""+journal.getUserId(), attribute.getAttribute(TaskAttribute.COMMENT_AUTHOR).getValue());
    assertEquals(""+journal.getCreatedOn().getTime(), attribute.getAttribute(TaskAttribute.COMMENT_DATE).getValue());
    assertEquals(""+journal.getNotes(), attribute.getAttribute(TaskAttribute.COMMENT_TEXT).getValue());
    assertEquals(URL + "/issues/" + issue.getId() + "#note-3", attribute.getAttribute(TaskAttribute.COMMENT_URL).getValue());
   
    /* Attachments */
    /* affected by TaskAttributeMapper, RedmineTaskAttributeMapper */
    attribute = root.getAttribute(TaskAttribute.PREFIX_ATTACHMENT + "10");
    Attachment attachment = issue.getAttachments().get(10);
    assertNotNull(attribute);
    assertEquals(""+attachment.getId(), attribute.getValue());
    assertEquals(""+attachment.getAuthorId(), attribute.getAttribute(TaskAttribute.ATTACHMENT_AUTHOR).getValue());
    assertEquals(""+attachment.getCreatedOn().getTime(), attribute.getAttribute(TaskAttribute.ATTACHMENT_DATE).getValue());
    assertEquals(attachment.getFilename(), attribute.getAttribute(TaskAttribute.ATTACHMENT_FILENAME).getValue());
    assertEquals(""+attachment.getFilesize(), attribute.getAttribute(TaskAttribute.ATTACHMENT_SIZE).getValue());
    assertEquals(attachment.getDescription(), attribute.getAttribute(TaskAttribute.ATTACHMENT_DESCRIPTION).getValue());
    assertEquals(URL + "/attachments/download/10", attribute.getAttribute(TaskAttribute.ATTACHMENT_URL).getValue());
   
    /* IssueRelations */
    /* TimeEntries + sum*/
    /* affected by TaskAttributeMapper, RedmineTaskAttributeMapper, TaskTimeEntryMapper */
//    assertEquals(""+issue.getTimeEntries().getSum(), root.getAttribute(IRedmineConstants.TASK_ATTRIBUTE_TIMEENTRY_TOTAL).getValue());
    assertEquals("4.25", root.getAttribute(IRedmineConstants.TASK_ATTRIBUTE_TIMEENTRY_TOTAL).getValue());
   
    TimeEntry te = issue.getTimeEntries().get(1);
    attribute = root.getAttribute(IRedmineConstants.TASK_ATTRIBUTE_TIMEENTRY_PREFIX + te.getId());
    assertNotNull(attribute);
    assertEquals(""+te.getId(), attribute.getValue());

    assertEquals(""+te.getUserId(), attribute.getAttribute(IRedmineConstants.TASK_ATTRIBUTE_TIMEENTRY_AUTHOR).getValue());
    assertEquals(""+te.getActivityId(), attribute.getAttribute(IRedmineConstants.TASK_ATTRIBUTE_TIMEENTRY_ACTIVITY).getValue());
    assertEquals(""+te.getHours(), attribute.getAttribute(IRedmineConstants.TASK_ATTRIBUTE_TIMEENTRY_HOURS).getValue());
    assertEquals(""+te.getComments(), attribute.getAttribute(IRedmineConstants.TASK_ATTRIBUTE_TIMEENTRY_COMMENTS).getValue());
    assertEquals(""+te.getSpentOn().getTime(), attribute.getAttribute(IRedmineConstants.TASK_ATTRIBUTE_TIMEENTRY_SPENTON).getValue());
    assertEquals("1", attribute.getAttribute(IRedmineConstants.TASK_KEY_PREFIX_TIMEENTRY_CF+"7").getValue());
   
    fail("Not finished yet implemented");
  }
View Full Code Here

    //TODO repositoryAttributes (via aspect)
    if (configuration!=null) {
      IssuePriorities priorities = configuration.getIssuePriorities();
     
      TaskAttribute attribute = getTaskData().getRoot().getAttribute(RedmineAttribute.PRIORITY.getTaskKey());
      IssuePriority priority = priorities.getById(RedmineUtil.parseIntegerId(attribute.getValue()));
     
      //some tickets references a non existing priority ?!
      if (priority==null) {
        priority = priorities.getDefault();
       
View Full Code Here

 
  @Override
  public boolean initializeSubTaskData(TaskRepository repository, TaskData taskData, TaskData parentTaskData, IProgressMonitor monitor) throws CoreException {
    Issue issue = new Issue();
   
    TaskAttribute parentRoot = parentTaskData.getRoot();
    issue.setProjectId(RedmineUtil.parseIntegerId(parentRoot.getAttribute(RedmineAttribute.PROJECT.getTaskKey()).getValue()));
    issue.setTrackerId(RedmineUtil.parseIntegerId(parentRoot.getAttribute(RedmineAttribute.TRACKER.getTaskKey()).getValue()));
   
   
    if(initializeNewTaskData(issue, repository, taskData, monitor)) {
      TaskAttribute childRoot = taskData.getRoot();
      childRoot.getAttribute(RedmineAttribute.PARENT.getTaskKey()).setValue(parentTaskData.getTaskId());
      childRoot.getAttribute(RedmineAttribute.CATEGORY.getTaskKey()).setValue(parentRoot.getAttribute(RedmineAttribute.CATEGORY.getTaskKey()).getValue());
      childRoot.getAttribute(RedmineAttribute.VERSION.getTaskKey()).setValue(parentRoot.getAttribute(RedmineAttribute.VERSION.getTaskKey()).getValue());
      childRoot.getAttribute(RedmineAttribute.PRIORITY.getTaskKey()).setValue(parentRoot.getAttribute(RedmineAttribute.PRIORITY.getTaskKey()).getValue());
     
      return true;
    }
    return false;
  }
View Full Code Here

    try {
      createAttributes(repository, taskData, issue, conf);
      createOperations(taskData, issue, conf);
     
      /* Default-Values */
      TaskAttribute root = taskData.getRoot();
      root.getAttribute(RedmineAttribute.PROJECT.getTaskKey()).setValue(""+issue.getProjectId()); //$NON-NLS-1$
      root.getAttribute(RedmineAttribute.TRACKER.getTaskKey()).setValue(""+issue.getTrackerId()); //$NON-NLS-1$
     
      IssuePriority priority = conf.getIssuePriorities().getDefault();
      if(priority!=null) {
        root.getAttribute(RedmineAttribute.PRIORITY.getTaskKey()).setValue(""+priority.getId()); //$NON-NLS-1$
      } else if(conf.getIssuePriorities().getAll().size()>0){
        root.getAttribute(RedmineAttribute.PRIORITY.getTaskKey()).setValue(""+conf.getIssuePriorities().getAll().get(0)); //$NON-NLS-1$
      }
     
      IssueStatus status = conf.getIssueStatuses().getDefault();
      if(status!=null) {
        root.getAttribute(RedmineAttribute.STATUS.getTaskKey()).setValue(""+status.getId()); //$NON-NLS-1$
        root.getAttribute(RedmineAttribute.STATUS_CHG.getTaskKey()).setValue(""+status.getId()); //$NON-NLS-1$
      } else if(conf.getIssueStatuses().getAll().size()>0){
        root.getAttribute(RedmineAttribute.STATUS.getTaskKey()).setValue(""+conf.getIssueStatuses().getAll().get(0)); //$NON-NLS-1$
        root.getAttribute(RedmineAttribute.STATUS_CHG.getTaskKey()).setValue(""+conf.getIssueStatuses().getAll().get(0)); //$NON-NLS-1$
      }
     
    } catch (RedmineStatusException e) {
      throw new CoreException(RedmineCorePlugin.toStatus(e, e.getMessage()));
    }
View Full Code Here

TOP

Related Classes of org.eclipse.mylyn.tasks.core.data.TaskAttribute

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.