org.sonar.ide.shared
Class DefaultServerManager
java.lang.Object
org.sonar.ide.shared.DefaultServerManager
public class DefaultServerManager
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serverList
protected final ArrayList<org.sonar.wsclient.Host> serverList
path
protected String path
serverSetListeners
protected final List<DefaultServerManager.IServerSetListener> serverSetListeners
DefaultServerManager
public DefaultServerManager()
DefaultServerManager
public DefaultServerManager(String path)
addServer
public void addServer(String location,
String username,
String password)
throws Exception
- Throws:
Exception
addServer
public void addServer(org.sonar.wsclient.Host server)
getServers
public List<org.sonar.wsclient.Host> getServers()
removeServer
public boolean removeServer(String host)
createServer
public org.sonar.wsclient.Host createServer(String url)
findServer
public org.sonar.wsclient.Host findServer(String host)
getSonar
public org.sonar.wsclient.Sonar getSonar(String url)
testSonar
public boolean testSonar(String url,
String user,
String password)
throws Exception
- Throws:
Exception
getServerListFile
protected File getServerListFile()
addServerSetListener
public boolean addServerSetListener(DefaultServerManager.IServerSetListener listener)
removeServerSetListener
public boolean removeServerSetListener(DefaultServerManager.IServerSetListener listener)
notifyListeners
protected void notifyListeners(int eventType)
Copyright © 2010 Evgeny Mandrikov. All Rights Reserved.