Package org.eclipse.mylyn.tasks.core

Examples of org.eclipse.mylyn.tasks.core.TaskRepository


            data.getAttributeMapper().setRepositoryPerson(attribute, person);
        }
    }

    private IRepositoryPerson getPerson(TaskData data, Person person) {
        TaskRepository repository = data.getAttributeMapper().getTaskRepository();
        String email = person.getEmail();
        IRepositoryPerson repositoryPerson;
        if (email != null) {
            repositoryPerson = repository.createPerson(email);
        } else {
            // seems to be the case in at least one case
            repositoryPerson = repository.createPerson(person.getName());
        }
        repositoryPerson.setName(person.getName());
        return repositoryPerson;
    }
View Full Code Here


        repositoryPerson.setName(person.getName());
        return repositoryPerson;
    }

    private IRepositoryPerson getPerson(TaskData data, Owner owner) {
        TaskRepository repository = data.getAttributeMapper().getTaskRepository();
        IRepositoryPerson person = repository.createPerson(owner.getUsername().getValue());
        return person;
    }
View Full Code Here

TOP

Related Classes of org.eclipse.mylyn.tasks.core.TaskRepository

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.