Class SonarService
- java.lang.Object
-
- fr.paris.lutece.plugins.lutecetools.service.SonarService
-
- All Implemented Interfaces:
ComponentInfoFiller,fr.paris.lutece.portal.service.util.LuteceService
public class SonarService extends Object implements ComponentInfoFiller
Get sonar metrics from json data
-
-
Field Summary
Fields Modifier and Type Field Description static StringSONAR_NB_LINESstatic StringSONAR_RCI
-
Constructor Summary
Constructors Constructor Description SonarService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfill(fr.paris.lutece.plugins.lutecetools.business.Component component, StringBuilder sbLogs)Fill component informationStringgetName()Map<String,String>getSonarMetrics(String strArtifactId)get metrics from Sonar Webservice
-
-
-
Field Detail
-
SONAR_NB_LINES
public static final String SONAR_NB_LINES
- See Also:
- Constant Field Values
-
SONAR_RCI
public static final String SONAR_RCI
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfacefr.paris.lutece.portal.service.util.LuteceService
-
fill
public void fill(fr.paris.lutece.plugins.lutecetools.business.Component component, StringBuilder sbLogs)Fill component information- Specified by:
fillin interfaceComponentInfoFiller- Parameters:
component- The componentsbLogs- Logs
-
-