com.googlecode.openbox.server.loaders.TestLineServerGroupLoader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ssh Show documentation
Show all versions of ssh Show documentation
This is remote linux SSH module
The newest version!
package com.googlecode.openbox.server.loaders;
public class TestLineServerGroupLoader extends AbstractServerGroupLoader {
private String ipLineContext;
private TestLineServerGroupLoader(String username, String password,
int port, String ipLineContext) {
super(username, password, port);
this.ipLineContext = ipLineContext;
}
public static TestLineServerGroupLoader newInstance(String username,
String password, int port, String ipLineContext) {
return new TestLineServerGroupLoader(username, password, port,
ipLineContext);
}
@Override
public String[] getIps() {
return ipLineContext.split("(\\r|\\n)");
}
}