ch.hortis.sonar.service
Class WebInterfaceServiceImpl
java.lang.Object
ch.hortis.sonar.service.WebInterfaceServiceImpl
- All Implemented Interfaces:
- WebInterfaceService
public class WebInterfaceServiceImpl
- extends java.lang.Object
- implements WebInterfaceService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOWNLOAD_FAILURE_RETRY_COUNT
protected static final int DOWNLOAD_FAILURE_RETRY_COUNT
- See Also:
- Constant Field Values
WebInterfaceServiceImpl
public WebInterfaceServiceImpl(java.lang.String remoteHostURL)
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 © 2007-2008 hortis. All Rights Reserved.