Class SonarToGerritPublisher.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- org.jenkinsci.plugins.sonargerrit.SonarToGerritPublisher.DescriptorImpl
-
- Enclosing class:
- SonarToGerritPublisher
@Symbol("sonarToGerrit") @Extension public static final class SonarToGerritPublisher.DescriptorImpl extends BuildStepDescriptor<Publisher>
Descriptor forSonarToGerritPublisher
. Used as a singleton. The class is marked as public so that it can be accessed from views.See src/main/resources/hudson/plugins/hello_world/SonarToGerritBuilder/*.jelly for the actual HTML fragment for the configuration screen.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
AUTO_MATCH_INSPECTION_AND_REVISION_PATHS
static String
CATEGORY
static boolean
CHANGED_LINES_ONLY
static String
DEFAULT_INSPECTION_CONFIG_TYPE
static String
ISSUE_COMMENT_TEXT
static boolean
ISSUE_OMIT_DUPLICATE_COMMENTS
static boolean
NEW_ISSUES_ONLY
static Integer
NO_ISSUES_SCORE
static String
NO_ISSUES_TEXT
static me.redaalaoui.gerrit_rest_java_client.thirdparty.com.google.gerrit.extensions.api.changes.NotifyHandling
NOTIFICATION_RECIPIENT_NEGATIVE_SCORE
static me.redaalaoui.gerrit_rest_java_client.thirdparty.com.google.gerrit.extensions.api.changes.NotifyHandling
NOTIFICATION_RECIPIENT_NO_ISSUES
static me.redaalaoui.gerrit_rest_java_client.thirdparty.com.google.gerrit.extensions.api.changes.NotifyHandling
NOTIFICATION_RECIPIENT_SOME_ISSUES
static String
PROJECT_PATH
static String
SEVERITY
static Integer
SOME_ISSUES_SCORE
static String
SOME_ISSUES_TEXT
static String
SONAR_REPORT_PATH
static String
SONAR_URL
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
In order to load the persisted global configuration, you have to call load() in the constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
This human readable name is used in the configuration screen.boolean
isApplicable(Class<? extends AbstractProject> aClass)
-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Field Detail
-
NOTIFICATION_RECIPIENT_NO_ISSUES
public static final me.redaalaoui.gerrit_rest_java_client.thirdparty.com.google.gerrit.extensions.api.changes.NotifyHandling NOTIFICATION_RECIPIENT_NO_ISSUES
-
NOTIFICATION_RECIPIENT_SOME_ISSUES
public static final me.redaalaoui.gerrit_rest_java_client.thirdparty.com.google.gerrit.extensions.api.changes.NotifyHandling NOTIFICATION_RECIPIENT_SOME_ISSUES
-
NOTIFICATION_RECIPIENT_NEGATIVE_SCORE
public static final me.redaalaoui.gerrit_rest_java_client.thirdparty.com.google.gerrit.extensions.api.changes.NotifyHandling NOTIFICATION_RECIPIENT_NEGATIVE_SCORE
-
PROJECT_PATH
public static final String PROJECT_PATH
- See Also:
- Constant Field Values
-
SONAR_REPORT_PATH
public static final String SONAR_REPORT_PATH
- See Also:
- Constant Field Values
-
SONAR_URL
public static final String SONAR_URL
- See Also:
- Constant Field Values
-
DEFAULT_INSPECTION_CONFIG_TYPE
public static final String DEFAULT_INSPECTION_CONFIG_TYPE
- See Also:
- Constant Field Values
-
AUTO_MATCH_INSPECTION_AND_REVISION_PATHS
public static final boolean AUTO_MATCH_INSPECTION_AND_REVISION_PATHS
- See Also:
- Constant Field Values
-
NO_ISSUES_TEXT
public static final String NO_ISSUES_TEXT
-
SOME_ISSUES_TEXT
public static final String SOME_ISSUES_TEXT
-
ISSUE_COMMENT_TEXT
public static final String ISSUE_COMMENT_TEXT
-
ISSUE_OMIT_DUPLICATE_COMMENTS
public static final boolean ISSUE_OMIT_DUPLICATE_COMMENTS
- See Also:
- Constant Field Values
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
NO_ISSUES_SCORE
public static final Integer NO_ISSUES_SCORE
-
SOME_ISSUES_SCORE
public static final Integer SOME_ISSUES_SCORE
-
SEVERITY
public static final String SEVERITY
-
NEW_ISSUES_ONLY
public static final boolean NEW_ISSUES_ONLY
- See Also:
- Constant Field Values
-
CHANGED_LINES_ONLY
public static final boolean CHANGED_LINES_ONLY
- See Also:
- Constant Field Values
-
-
Method Detail
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> aClass)
- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
-
getDisplayName
public String getDisplayName()
This human readable name is used in the configuration screen.- Overrides:
getDisplayName
in classDescriptor<Publisher>
-
-