org.sonar.squidbridge.annotations.AnnotationBasedProfileBuilder Java Examples
The following examples show how to use
org.sonar.squidbridge.annotations.AnnotationBasedProfileBuilder.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CssProfile.java From sonar-css-plugin with GNU Lesser General Public License v3.0 | 5 votes |
@Override public RulesProfile createProfile(ValidationMessages messages) { AnnotationBasedProfileBuilder annotationBasedProfileBuilder = new AnnotationBasedProfileBuilder(ruleFinder); return annotationBasedProfileBuilder.build( CheckList.CSS_REPOSITORY_KEY, SONARQUBE_WAY_PROFILE_NAME, CssLanguage.KEY, CheckList.getCssChecks(), messages); }
Example #2
Source File: LessProfile.java From sonar-css-plugin with GNU Lesser General Public License v3.0 | 5 votes |
@Override public RulesProfile createProfile(ValidationMessages messages) { AnnotationBasedProfileBuilder annotationBasedProfileBuilder = new AnnotationBasedProfileBuilder(ruleFinder); return annotationBasedProfileBuilder.build( CheckList.LESS_REPOSITORY_KEY, SONARQUBE_WAY_PROFILE_NAME, LessLanguage.KEY, CheckList.getLessChecks(), messages); }
Example #3
Source File: ScssProfile.java From sonar-css-plugin with GNU Lesser General Public License v3.0 | 5 votes |
@Override public RulesProfile createProfile(ValidationMessages messages) { AnnotationBasedProfileBuilder annotationBasedProfileBuilder = new AnnotationBasedProfileBuilder(ruleFinder); return annotationBasedProfileBuilder.build( CheckList.SCSS_REPOSITORY_KEY, SONARQUBE_WAY_PROFILE_NAME, ScssLanguage.KEY, CheckList.getScssChecks(), messages); }
Example #4
Source File: ApexProfile.java From enforce-sonarqube-plugin with MIT License | 5 votes |
/** * Returns a {@link RulesProfile} based on a list of classes annotated. * * @param validation validation message. * @return a rule profile. */ @Override public RulesProfile createProfile(ValidationMessages validation) { AnnotationBasedProfileBuilder annotationBasedProfileBuilder = new AnnotationBasedProfileBuilder(ruleFinder); return annotationBasedProfileBuilder.build( CheckList.REPOSITORY_KEY, CheckList.SONAR_WAY_PROFILE, Apex.KEY, CheckList.getChecks(), validation); }
Example #5
Source File: GherkinProfile.java From sonar-gherkin-plugin with GNU Lesser General Public License v3.0 | 5 votes |
@Override public RulesProfile createProfile(ValidationMessages messages) { AnnotationBasedProfileBuilder annotationBasedProfileBuilder = new AnnotationBasedProfileBuilder(ruleFinder); return annotationBasedProfileBuilder.build( GherkinRulesDefinition.REPOSITORY_KEY, SONARQUBE_WAY_PROFILE_NAME, GherkinLanguage.KEY, GherkinRulesDefinition.getChecks(), messages); }
Example #6
Source File: LuaProfile.java From sonar-lua with GNU Lesser General Public License v3.0 | 5 votes |
@Override public RulesProfile createProfile(ValidationMessages validation) { AnnotationBasedProfileBuilder annotationBasedProfileBuilder = new AnnotationBasedProfileBuilder(ruleFinder); return annotationBasedProfileBuilder.build( CheckList.REPOSITORY_KEY, CheckList.SONAR_WAY_PROFILE, Lua.KEY, CheckList.getChecks(), validation); }