public class ProjectsSynchronizer extends Object
| Constructor and Description |
|---|
ProjectsSynchronizer(JavaLanguageServerExtensionService service,
org.eclipse.che.api.core.notification.EventService eventService,
org.eclipse.che.api.project.server.ProjectManager projectManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
ensureMavenProject(String mavenProjectPath) |
void |
synchronize(String rootPath)
Retrieves maven projects from the JDT.LS and creates missed ones.
|
@Inject public ProjectsSynchronizer(JavaLanguageServerExtensionService service, org.eclipse.che.api.core.notification.EventService eventService, org.eclipse.che.api.project.server.ProjectManager projectManager)
public void synchronize(String rootPath)
rootPath - the root pass to synchronize projects. It can be either a project path or any
path inside the projectpublic void ensureMavenProject(String mavenProjectPath)
Copyright © 2012–2019 Red Hat, Inc.. All rights reserved.