org.codehaus.mojo.sonar
Class ServerMetadata
java.lang.Object
org.codehaus.mojo.sonar.ServerMetadata
public class ServerMetadata
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONNECT_TIMEOUT_MILLISECONDS
public static final int CONNECT_TIMEOUT_MILLISECONDS
- See Also:
- Constant Field Values
READ_TIMEOUT_MILLISECONDS
public static final int READ_TIMEOUT_MILLISECONDS
- See Also:
- Constant Field Values
MAVEN_PATH
public static final String MAVEN_PATH
- See Also:
- Constant Field Values
ServerMetadata
public ServerMetadata(String url)
connect
public void connect()
throws MojoExecutionException
- Throws:
MojoExecutionException
getVersion
public String getVersion()
getKey
public String getKey()
getMavenRepositoryUrl
public String getMavenRepositoryUrl()
getUrl
public String getUrl()
needsSonarInternalRepository
public boolean needsSonarInternalRepository()
logSettings
public void logSettings(Log log)
remoteContent
protected String remoteContent(String path)
throws IOException
- Throws:
IOException
getConnection
protected HttpURLConnection getConnection(String url,
String method)
throws IOException
- Throws:
IOException
Copyright © 2009-2011 Codehaus. All Rights Reserved.