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

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


  }

  @Override
  public void updateTaskFromTaskData(TaskRepository taskRepository, ITask task, TaskData taskData) {
    TaskMapper mapper = getTaskMapping(taskData);
    mapper.applyTo(task);

    task.setUrl(getTaskUrl(taskRepository.getUrl(), task.getTaskId()));
   
    Configuration configuration = getRepositoryConfiguration(taskRepository);
    Assert.isNotNull(configuration);
View Full Code Here


            TaskData taskData) {
        // copy and pasted from other connectors
        TaskMapper mapper;
        try {
            mapper = new GoogleCodeTaskMapper(taskData, clientManager.getClient(repository));
            mapper.applyTo(task);
        } catch (CoreException e) {
            StatusHandler.log(e.getStatus());
        }
    }
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.