Skip to content

Commit

Permalink
CHE-5413 Rename Agent to Installer
Browse files Browse the repository at this point in the history
  • Loading branch information
sleshchenko committed Jun 29, 2017
1 parent 66911cd commit 0504b31
Show file tree
Hide file tree
Showing 107 changed files with 1,326 additions and 1,326 deletions.
2 changes: 1 addition & 1 deletion agents/exec/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</dependency>
<dependency>
<groupId>org.eclipse.che.core</groupId>
<artifactId>che-core-api-agent</artifactId>
<artifactId>che-core-api-installer</artifactId>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,29 @@
* Contributors:
* Codenvy, S.A. - initial API and implementation
*******************************************************************************/
package org.eclipse.che.api.agent;
package org.eclipse.che.api.installer;

import com.google.inject.Inject;
import com.google.inject.Singleton;

import org.eclipse.che.api.agent.shared.model.Agent;
import org.eclipse.che.api.agent.server.model.impl.BasicAgent;
import org.eclipse.che.api.installer.server.model.impl.BasicInstaller;
import org.eclipse.che.api.installer.shared.model.Installer;

import java.io.IOException;

/**
* Exec agent.
*
* @see Agent
* Exec installer.
*
* @author Anatolii Bazko
* @see Installer
*/
@Singleton
public class ExecAgent extends BasicAgent {
public class ExecInstaller extends BasicInstaller {
private static final String AGENT_DESCRIPTOR = "org.eclipse.che.exec.json";
private static final String AGENT_SCRIPT = "org.eclipse.che.exec.script.sh";

@Inject
public ExecAgent() throws IOException {
public ExecInstaller() throws IOException {
super(AGENT_DESCRIPTOR, AGENT_SCRIPT);
}
}
2 changes: 1 addition & 1 deletion agents/git-credentials/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</dependency>
<dependency>
<groupId>org.eclipse.che.core</groupId>
<artifactId>che-core-api-agent</artifactId>
<artifactId>che-core-api-installer</artifactId>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,31 @@
* Contributors:
* Codenvy, S.A. - initial API and implementation
*******************************************************************************/
package org.eclipse.che.api.agent;
package org.eclipse.che.api.installer;

import com.google.inject.Inject;
import com.google.inject.Singleton;

import org.eclipse.che.api.agent.shared.model.Agent;
import org.eclipse.che.api.agent.server.model.impl.BasicAgent;
import org.eclipse.che.api.installer.server.model.impl.BasicInstaller;
import org.eclipse.che.api.installer.shared.model.Installer;

import java.io.IOException;

/**
* Git credentials agent.
* Git credentials installer.
* Creates sh script that retrieves SSH keys from user preferences for console Git SSH operations.
* Injects Git username and email from user preferences to console Git preferences.
*
* @see Agent
*
* @author Igor Vinokur
* @see Installer
*/
@Singleton
public class GitCredentialsAgent extends BasicAgent {
public class GitCredentialsInstaller extends BasicInstaller {
private static final String AGENT_DESCRIPTOR = "org.eclipse.che.git.json";
private static final String AGENT_SCRIPT = "org.eclipse.che.git.script.sh";

@Inject
public GitCredentialsAgent() throws IOException {
public GitCredentialsInstaller() throws IOException {
super(AGENT_DESCRIPTOR, AGENT_SCRIPT);
}
}
2 changes: 1 addition & 1 deletion agents/ls-csharp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</dependency>
<dependency>
<groupId>org.eclipse.che.core</groupId>
<artifactId>che-core-api-agent</artifactId>
<artifactId>che-core-api-installer</artifactId>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,29 @@
* Contributors:
* Codenvy, S.A. - initial API and implementation
*******************************************************************************/
package org.eclipse.che.api.agent;
package org.eclipse.che.api.installer;

import com.google.inject.Inject;
import com.google.inject.Singleton;

import org.eclipse.che.api.agent.shared.model.Agent;
import org.eclipse.che.api.agent.server.model.impl.BasicAgent;
import org.eclipse.che.api.installer.server.model.impl.BasicInstaller;
import org.eclipse.che.api.installer.shared.model.Installer;

import java.io.IOException;

/**
* Language server C# agent.
*
* @see Agent
* Language server C# installer.
*
* @author Anatolii Bazko
* @see Installer
*/
@Singleton
public class LSCSharpAgent extends BasicAgent {
public class LSCSharpInstaller extends BasicInstaller {
private static final String AGENT_DESCRIPTOR = "org.eclipse.che.ls.csharp.json";
private static final String AGENT_SCRIPT = "org.eclipse.che.ls.csharp.script.sh";

@Inject
public LSCSharpAgent() throws IOException {
public LSCSharpInstaller() throws IOException {
super(AGENT_DESCRIPTOR, AGENT_SCRIPT);
}
}
2 changes: 1 addition & 1 deletion agents/ls-json/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</dependency>
<dependency>
<groupId>org.eclipse.che.core</groupId>
<artifactId>che-core-api-agent</artifactId>
<artifactId>che-core-api-installer</artifactId>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,29 @@
* Contributors:
* Codenvy, S.A. - initial API and implementation
*******************************************************************************/
package org.eclipse.che.api.agent;
package org.eclipse.che.api.installer;

import com.google.inject.Inject;
import com.google.inject.Singleton;

import org.eclipse.che.api.agent.shared.model.Agent;
import org.eclipse.che.api.agent.server.model.impl.BasicAgent;
import org.eclipse.che.api.installer.server.model.impl.BasicInstaller;
import org.eclipse.che.api.installer.shared.model.Installer;

import java.io.IOException;

/**
* Language server Json agent.
*
* @see Agent
* Language server Json installer.
*
* @author Anatolii Bazko
* @see Installer
*/
@Singleton
public class LSJsonAgent extends BasicAgent {
public class LSJsonInstaller extends BasicInstaller {
private static final String AGENT_DESCRIPTOR = "org.eclipse.che.ls.json.json";
private static final String AGENT_SCRIPT = "org.eclipse.che.ls.json.script.sh";

@Inject
public LSJsonAgent() throws IOException {
public LSJsonInstaller() throws IOException {
super(AGENT_DESCRIPTOR, AGENT_SCRIPT);
}
}
2 changes: 1 addition & 1 deletion agents/ls-php/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</dependency>
<dependency>
<groupId>org.eclipse.che.core</groupId>
<artifactId>che-core-api-agent</artifactId>
<artifactId>che-core-api-installer</artifactId>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,29 @@
* Contributors:
* Codenvy, S.A. - initial API and implementation
*******************************************************************************/
package org.eclipse.che.api.agent;
package org.eclipse.che.api.installer;

import com.google.inject.Inject;
import com.google.inject.Singleton;

import org.eclipse.che.api.agent.shared.model.Agent;
import org.eclipse.che.api.agent.server.model.impl.BasicAgent;
import org.eclipse.che.api.installer.server.model.impl.BasicInstaller;
import org.eclipse.che.api.installer.shared.model.Installer;

import java.io.IOException;

/**
* Language server Php agent.
*
* @see Agent
* Language server Php installer.
*
* @author Anatolii Bazko
* @see Installer
*/
@Singleton
public class LSPhpAgent extends BasicAgent {
public class LSPhpInstaller extends BasicInstaller {
private static final String AGENT_DESCRIPTOR = "org.eclipse.che.ls.php.json";
private static final String AGENT_SCRIPT = "org.eclipse.che.ls.php.script.sh";

@Inject
public LSPhpAgent() throws IOException {
public LSPhpInstaller() throws IOException {
super(AGENT_DESCRIPTOR, AGENT_SCRIPT);
}
}
2 changes: 1 addition & 1 deletion agents/ls-python/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</dependency>
<dependency>
<groupId>org.eclipse.che.core</groupId>
<artifactId>che-core-api-agent</artifactId>
<artifactId>che-core-api-installer</artifactId>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,29 @@
* Contributors:
* Codenvy, S.A. - initial API and implementation
*******************************************************************************/
package org.eclipse.che.api.agent;
package org.eclipse.che.api.installer;

import com.google.inject.Inject;
import com.google.inject.Singleton;

import org.eclipse.che.api.agent.shared.model.Agent;
import org.eclipse.che.api.agent.server.model.impl.BasicAgent;
import org.eclipse.che.api.installer.server.model.impl.BasicInstaller;
import org.eclipse.che.api.installer.shared.model.Installer;

import java.io.IOException;

/**
* Language server python agent.
*
* @see Agent
* Language server python installer.
*
* @author Anatolii Bazko
* @see Installer
*/
@Singleton
public class LSPythonAgent extends BasicAgent {
public class LSPythonInstaller extends BasicInstaller {
private static final String AGENT_DESCRIPTOR = "org.eclipse.che.ls.python.json";
private static final String AGENT_SCRIPT = "org.eclipse.che.ls.python.script.sh";

@Inject
public LSPythonAgent() throws IOException {
public LSPythonInstaller() throws IOException {
super(AGENT_DESCRIPTOR, AGENT_SCRIPT);
}
}
2 changes: 1 addition & 1 deletion agents/ls-typescript/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</dependency>
<dependency>
<groupId>org.eclipse.che.core</groupId>
<artifactId>che-core-api-agent</artifactId>
<artifactId>che-core-api-installer</artifactId>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,29 @@
* Contributors:
* Codenvy, S.A. - initial API and implementation
*******************************************************************************/
package org.eclipse.che.api.agent;
package org.eclipse.che.api.installer;

import com.google.inject.Inject;
import com.google.inject.Singleton;

import org.eclipse.che.api.agent.shared.model.Agent;
import org.eclipse.che.api.agent.server.model.impl.BasicAgent;
import org.eclipse.che.api.installer.server.model.impl.BasicInstaller;
import org.eclipse.che.api.installer.shared.model.Installer;

import java.io.IOException;

/**
* Language server typescript agent.
*
* @see Agent
* Language server typescript installer.
*
* @author Anatolii Bazko
* @see Installer
*/
@Singleton
public class LSTypeScriptAgent extends BasicAgent {
public class LSTypeScriptInstaller extends BasicInstaller {
private static final String AGENT_DESCRIPTOR = "org.eclipse.che.ls.typescript.json";
private static final String AGENT_SCRIPT = "org.eclipse.che.ls.typescript.script.sh";

@Inject
public LSTypeScriptAgent() throws IOException {
public LSTypeScriptInstaller() throws IOException {
super(AGENT_DESCRIPTOR, AGENT_SCRIPT);
}
}
2 changes: 1 addition & 1 deletion agents/ssh/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</dependency>
<dependency>
<groupId>org.eclipse.che.core</groupId>
<artifactId>che-core-api-agent</artifactId>
<artifactId>che-core-api-installer</artifactId>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,29 @@
* Contributors:
* Codenvy, S.A. - initial API and implementation
*******************************************************************************/
package org.eclipse.che.api.agent;
package org.eclipse.che.api.installer;

import com.google.inject.Inject;
import com.google.inject.Singleton;

import org.eclipse.che.api.agent.shared.model.Agent;
import org.eclipse.che.api.agent.server.model.impl.BasicAgent;
import org.eclipse.che.api.installer.server.model.impl.BasicInstaller;
import org.eclipse.che.api.installer.shared.model.Installer;

import java.io.IOException;

/**
* Ssh agent.
*
* @see Agent
* Ssh installer.
*
* @author Anatolii Bazko
* @see Installer
*/
@Singleton
public class SshAgent extends BasicAgent {
public class SshInstaller extends BasicInstaller {
private static final String AGENT_DESCRIPTOR = "org.eclipse.che.ssh.json";
private static final String AGENT_SCRIPT = "org.eclipse.che.ssh.script.sh";

@Inject
public SshAgent() throws IOException {
public SshInstaller() throws IOException {
super(AGENT_DESCRIPTOR, AGENT_SCRIPT);
}
}
2 changes: 1 addition & 1 deletion agents/terminal/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</dependency>
<dependency>
<groupId>org.eclipse.che.core</groupId>
<artifactId>che-core-api-agent</artifactId>
<artifactId>che-core-api-installer</artifactId>
</dependency>
</dependencies>
<build>
Expand Down
Loading

0 comments on commit 0504b31

Please sign in to comment.