*/
package org.sonar.plugins.core.widgets;
-import org.sonar.api.web.AbstractRubyTemplate;
-import org.sonar.api.web.RubyRailsWidget;
-import org.sonar.api.web.WidgetCategory;
-import org.sonar.api.web.WidgetProperties;
-import org.sonar.api.web.WidgetProperty;
-import org.sonar.api.web.WidgetPropertyType;
+import org.sonar.api.web.*;
-@WidgetCategory({ "Hotspots" })
+@WidgetCategory({"Hotspots"})
@WidgetProperties(
{
@WidgetProperty(key = "numberOfLines", type = WidgetPropertyType.INTEGER, defaultValue = "5"),
@Override
protected String getTemplatePath() {
- return "/Users/sbrandhof/projects/github/sonar/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/hotspot_most_violated_rules.html.erb";
+ return "/org/sonar/plugins/core/widgets/hotspot_most_violated_rules.html.erb";
}
}
\ No newline at end of file
* <p>
* It is executed when the batch finishes.
* </p>
- *
+ *
* @since 1.10
* @deprecated since 2.5. The DBCleaner plugin implements all required purge taks.
*/
/**
* Snapshots include the current snapshot (flagged as last) and optionally the penultimate one.
- *
+ *
* @snapshots never null.
*/
void purge(PurgeContext context);