Search in sources :

Example 6 with NotificationMessage

use of org.eclipse.che.plugin.maven.shared.dto.NotificationMessage in project che by eclipse.

the class MavenServerNotifier method setPercent.

@Override
public void setPercent(double percent) {
    NotificationMessage dto = DtoFactory.newDto(NotificationMessage.class);
    dto.setPercent(percent);
    communication.sendNotification(dto);
}
Also used : NotificationMessage(org.eclipse.che.plugin.maven.shared.dto.NotificationMessage)

Aggregations

NotificationMessage (org.eclipse.che.plugin.maven.shared.dto.NotificationMessage)6 JsonObject (com.google.gson.JsonObject)3 Provider (com.google.inject.Provider)3 List (java.util.List)3 Set (java.util.Set)3 ProjectRegistry (org.eclipse.che.api.project.server.ProjectRegistry)3 MavenTerminal (org.eclipse.che.maven.server.MavenTerminal)3 EclipseWorkspaceProvider (org.eclipse.che.plugin.maven.server.core.EclipseWorkspaceProvider)3 MavenCommunication (org.eclipse.che.plugin.maven.server.core.MavenCommunication)3 MavenExecutorService (org.eclipse.che.plugin.maven.server.core.MavenExecutorService)3 MavenProjectManager (org.eclipse.che.plugin.maven.server.core.MavenProjectManager)3 MavenWorkspace (org.eclipse.che.plugin.maven.server.core.MavenWorkspace)3 ClasspathManager (org.eclipse.che.plugin.maven.server.core.classpath.ClasspathManager)3 MavenServerManagerTest (org.eclipse.che.plugin.maven.server.rmi.MavenServerManagerTest)3 MessageType (org.eclipse.che.plugin.maven.shared.MessageType)3 BeforeMethod (org.testng.annotations.BeforeMethod)3 File (java.io.File)2 ArrayList (java.util.ArrayList)1 Collections (java.util.Collections)1 IoUtil (org.eclipse.che.commons.lang.IoUtil)1