public class ClientFactory {
protected static TaskRepositoryLocationFactory repositoryLocationFactory = new TaskRepositoryLocationFactory();
public static IClient createClient(TaskRepository repository) throws RedmineStatusException {
AbstractWebLocation location = repositoryLocationFactory.createWebLocation(repository);
return createClient(repository, location, new Configuration());
}