Skip to content
Permalink
Browse files

[FIXED JENKINS-22176] Add a view column for the total warnings count

  • Loading branch information...
sschuberth committed Sep 15, 2014
1 parent feac537 commit 0dcef0c965156e590470d43a4a12a87a44dca0de
@@ -0,0 +1,37 @@
package org.jenkinsci.plugins.android_lint;

import org.kohsuke.stapler.DataBoundConstructor;

import hudson.Extension;
import hudson.plugins.analysis.views.WarningsCountColumn;
import hudson.views.ListViewColumnDescriptor;

public class LintColumn extends WarningsCountColumn<LintProjectAction> {
@DataBoundConstructor
public LintColumn() {
super();
}

@Override
protected Class<LintProjectAction> getProjectAction() {
return LintProjectAction.class;
}

@Override
public String getColumnCaption() {
return Messages.AndroidLint_Warnings_ColumnHeader();
}

@Extension
public static class ColumnDescriptor extends ListViewColumnDescriptor {
@Override
public boolean shownByDefault() {
return false;
}

@Override
public String getDisplayName() {
return Messages.AndroidLint_Warnings_Column();
}
}
}
@@ -17,6 +17,9 @@ AndroidLint.ResultAction.Tooltip.Multiple={0} issues
AndroidLint.Parser.UnknownCategory=Unknown
AndroidLint.Parser.UnknownExplanation=No further explanation available for the "<tt>{0}</tt>" issue type. Upgrade to Android SDK Tools r21 or newer.<br>An explanation is available via the command <tt>lint --show {0}</tt>

AndroidLint.Warnings.ColumnHeader=# Lint
AndroidLint.Warnings.Column=Number of Android Lint warnings

Portlet.WarningsTable=Android Lint issues per project
Portlet.WarningsPriorityGraph=Android Lint issues trend graph (priority distribution)
Portlet.WarningsNewVsFixedGraph=Android Lint issues trend graph (new vs. fixed)

0 comments on commit 0dcef0c

Please sign in to comment.
You can’t perform that action at this time.