org.sonar.mojo.bootstrap
Class ServerMetadata
java.lang.Object
org.sonar.mojo.bootstrap.ServerMetadata
public class ServerMetadata
- extends java.lang.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 java.lang.String MAVEN_PATH
- See Also:
- Constant Field Values
ServerMetadata
public ServerMetadata(java.lang.String url)
getVersion
public java.lang.String getVersion()
throws java.io.IOException
- Throws:
java.io.IOException
getKey
public java.lang.String getKey()
throws java.io.IOException
- Throws:
java.io.IOException
getMavenRepositoryUrl
public java.lang.String getMavenRepositoryUrl()
getUrl
public java.lang.String getUrl()
logSettings
public void logSettings(org.apache.maven.plugin.logging.Log log)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
remoteContent
protected java.lang.String remoteContent(java.lang.String path)
throws java.io.IOException
- Throws:
java.io.IOException
getConnection
protected java.net.HttpURLConnection getConnection(java.lang.String url,
java.lang.String method)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2009 SonarSource SA. All Rights Reserved.