org.sonar.batch
Class RemoteServerMetadata

java.lang.Object
  extended by org.sonar.batch.RemoteServerMetadata
All Implemented Interfaces:
BatchComponent

public class RemoteServerMetadata
extends Object
implements BatchComponent


Field Summary
static int CONNECT_TIMEOUT_MILLISECONDS
           
static int READ_TIMEOUT_MILLISECONDS
           
 
Constructor Summary
RemoteServerMetadata(Server server)
           
 
Method Summary
protected  String extractId(String remoteServerInfo)
           
 String getServerId()
           
protected  String getUrlFor(String path)
           
protected  String remoteContent(String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

RemoteServerMetadata

public RemoteServerMetadata(Server server)
Method Detail

getServerId

public String getServerId()
                   throws IOException
Throws:
IOException

extractId

protected String extractId(String remoteServerInfo)

getUrlFor

protected String getUrlFor(String path)

remoteContent

protected String remoteContent(String path)
                        throws IOException
Throws:
IOException


Copyright © 2009-2012 SonarSource. All Rights Reserved.