ch.hortis.sonar.service
Class WebInterfaceServiceImpl

java.lang.Object
  extended by ch.hortis.sonar.service.WebInterfaceServiceImpl
All Implemented Interfaces:
WebInterfaceService

public class WebInterfaceServiceImpl
extends java.lang.Object
implements WebInterfaceService


Field Summary
protected static int DOWNLOAD_FAILURE_RETRY_COUNT
           
 
Constructor Summary
WebInterfaceServiceImpl(java.lang.String remoteHostURL)
           
 
Method Summary
 void getRemoteCheckstyleConfiguration(java.io.File target)
           
 java.io.InputStream getRemoteFile(java.net.URL url)
           
 void getRemotePMDConfiguration(java.io.File target)
           
 java.lang.String getSonarMavenRepository()
           
 java.lang.String getVersion()
           
 boolean hasCheckstyleRulesExtensions()
           
 boolean hasPmdRulesExtensions()
           
 boolean ping()
           
static void resetCache()
           
 void triggerMeasuresCalculations(java.lang.Integer snapshotId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOWNLOAD_FAILURE_RETRY_COUNT

protected static final int DOWNLOAD_FAILURE_RETRY_COUNT
See Also:
Constant Field Values
Constructor Detail

WebInterfaceServiceImpl

public WebInterfaceServiceImpl(java.lang.String remoteHostURL)
Method Detail

getVersion

public java.lang.String getVersion()
                            throws java.io.IOException
Specified by:
getVersion in interface WebInterfaceService
Throws:
java.io.IOException

ping

public boolean ping()
Specified by:
ping in interface WebInterfaceService

getSonarMavenRepository

public java.lang.String getSonarMavenRepository()
Specified by:
getSonarMavenRepository in interface WebInterfaceService

hasCheckstyleRulesExtensions

public boolean hasCheckstyleRulesExtensions()
                                     throws java.io.IOException
Throws:
java.io.IOException

hasPmdRulesExtensions

public boolean hasPmdRulesExtensions()
                              throws java.io.IOException
Specified by:
hasPmdRulesExtensions in interface WebInterfaceService
Throws:
java.io.IOException

getRemoteCheckstyleConfiguration

public void getRemoteCheckstyleConfiguration(java.io.File target)
                                      throws java.io.IOException
Throws:
java.io.IOException

getRemotePMDConfiguration

public void getRemotePMDConfiguration(java.io.File target)
                               throws java.io.IOException
Specified by:
getRemotePMDConfiguration in interface WebInterfaceService
Throws:
java.io.IOException

triggerMeasuresCalculations

public void triggerMeasuresCalculations(java.lang.Integer snapshotId)
                                 throws java.io.IOException
Specified by:
triggerMeasuresCalculations in interface WebInterfaceService
Throws:
java.io.IOException

getRemoteFile

public java.io.InputStream getRemoteFile(java.net.URL url)
                                  throws java.io.IOException
Specified by:
getRemoteFile in interface WebInterfaceService
Throws:
java.io.IOException

resetCache

public static void resetCache()


Copyright © 2008 SonarSource SA. All Rights Reserved.