Methods Summary |
---|
public void | extractDataFromLine(java.lang.String line)
if(line.trim().startsWith("user")){
this.user = line.substring("user".length()).trim();
}else if(line.trim().startsWith("host")){
this.host = line.substring("host".length()).trim();
}else if(line.trim().startsWith("port")){
this.port = line.substring("port".length()).trim();
}else if(line.trim().startsWith("domain")){
this.domain = line.substring("domain".length()).trim();
}else if(line.trim().startsWith("instanceport")){
this.instancePort = line.substring("instanceport".length()).trim();
}else if(line.trim().startsWith("master")){
String masterStr = line.substring("master".length()).trim();
this.master = ("true".equals(masterStr)) ? true :false;
}
|
public java.lang.String | getDomain()Gets property domain.
return domain;
|
public java.lang.String | getHost()Gets property host.
return host;
|
public java.lang.String | getInstanceName()Gets property instanceName.
return instanceName;
|
public java.lang.String | getInstancePort()Gets property instancePort.
return instancePort;
|
public java.lang.String | getPort()Gets property port.
return port;
|
public java.lang.String | getUser()Gets property user.
return user;
|
public boolean | isMaster()Gets property master.
return master;
|
public void | setDomain(java.lang.String domain)Sets property domain.
this.domain = domain;
|
public void | setHost(java.lang.String host)Sets property host.
this.host = host;
|
public void | setInstanceName(java.lang.String instanceName)Sets property instanceName.
this.instanceName = instanceName;
|
public void | setInstancePort(java.lang.String instancePort)Sets property instancePort.
this.instancePort = instancePort;
|
public void | setMaster(boolean master)Sets property master.
this.master = master;
|
public void | setPort(java.lang.String port)Sets property port.
this.port = port;
|
public void | setUser(java.lang.String user)Sets property user.
this.user = user;
|