org.sonar.plugins.api.measures
Class PropertiesBuilder
java.lang.Object
org.sonar.plugins.api.measures.PropertiesBuilder
- All Implemented Interfaces:
- MeasureBuilder
public class PropertiesBuilder
- extends java.lang.Object
- implements MeasureBuilder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesBuilder
public PropertiesBuilder(Metric metric,
java.util.Map<? extends java.lang.Object,? extends java.lang.Object> map)
PropertiesBuilder
public PropertiesBuilder(Metric metric)
clear
public PropertiesBuilder clear()
getProps
public java.util.Map<java.lang.Object,java.lang.Object> getProps()
getMetric
public Metric getMetric()
setMetric
public PropertiesBuilder setMetric(Metric metric)
add
public PropertiesBuilder add(java.lang.Object key,
java.lang.Object value)
addAll
public PropertiesBuilder addAll(java.util.Map<java.lang.Object,java.lang.Object> map)
build
public Measure build()
- Specified by:
build
in interface MeasureBuilder
Copyright © 2009 SonarSource SA. All Rights Reserved.