本文整理汇总了Java中org.sonar.squidbridge.annotations.AnnotationBasedProfileBuilder类的典型用法代码示例。如果您正苦于以下问题:Java AnnotationBasedProfileBuilder类的具体用法?Java AnnotationBasedProfileBuilder怎么用?Java AnnotationBasedProfileBuilder使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AnnotationBasedProfileBuilder类属于org.sonar.squidbridge.annotations包,在下文中一共展示了AnnotationBasedProfileBuilder类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: createProfile
import org.sonar.squidbridge.annotations.AnnotationBasedProfileBuilder; //导入依赖的package包/类
@Override
public RulesProfile createProfile(ValidationMessages validation) {
AnnotationBasedProfileBuilder annotationBasedProfileBuilder = new AnnotationBasedProfileBuilder(ruleFinder);
return annotationBasedProfileBuilder.build(
CheckList.REPOSITORY_KEY,
CheckList.MAIN_PROFILE,
OneC.KEY,
CheckList.getChecks(),
validation);
}
开发者ID:antowski,项目名称:sonar-onec,代码行数:11,代码来源:OneCQualityProfile.java
示例2: createProfile
import org.sonar.squidbridge.annotations.AnnotationBasedProfileBuilder; //导入依赖的package包/类
@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);
}
开发者ID:racodond,项目名称:sonar-css-plugin,代码行数:11,代码来源:CssProfile.java
示例3: createProfile
import org.sonar.squidbridge.annotations.AnnotationBasedProfileBuilder; //导入依赖的package包/类
@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);
}
开发者ID:racodond,项目名称:sonar-css-plugin,代码行数:11,代码来源:LessProfile.java
示例4: createProfile
import org.sonar.squidbridge.annotations.AnnotationBasedProfileBuilder; //导入依赖的package包/类
@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);
}
开发者ID:racodond,项目名称:sonar-css-plugin,代码行数:11,代码来源:ScssProfile.java
示例5: createProfile
import org.sonar.squidbridge.annotations.AnnotationBasedProfileBuilder; //导入依赖的package包/类
/**
* 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);
}
开发者ID:fundacionjala,项目名称:enforce-sonarqube-plugin,代码行数:17,代码来源:ApexProfile.java
示例6: createProfile
import org.sonar.squidbridge.annotations.AnnotationBasedProfileBuilder; //导入依赖的package包/类
@Override
public RulesProfile createProfile(ValidationMessages validation) {
AnnotationBasedProfileBuilder annotationBasedProfileBuilder = new AnnotationBasedProfileBuilder(ruleFinder);
return annotationBasedProfileBuilder.build(
CheckList.REPOSITORY_KEY,
CheckList.I8C_PROFILE,
FlowLanguage.KEY,
CheckList.getChecks(),
validation);
}
开发者ID:I8C,项目名称:sonar-flow-plugin,代码行数:11,代码来源:FlowProfile.java
示例7: createProfile
import org.sonar.squidbridge.annotations.AnnotationBasedProfileBuilder; //导入依赖的package包/类
@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);
}
开发者ID:racodond,项目名称:sonar-gherkin-plugin,代码行数:11,代码来源:GherkinProfile.java
示例8: createProfile
import org.sonar.squidbridge.annotations.AnnotationBasedProfileBuilder; //导入依赖的package包/类
@Override
public RulesProfile createProfile(ValidationMessages validation) {
AnnotationBasedProfileBuilder annotationBasedProfileBuilder = new AnnotationBasedProfileBuilder(ruleFinder);
return annotationBasedProfileBuilder.build(
CheckList.REPOSITORY_KEY,
CheckList.SONARQUBE_WAY_PROFILE,
Puppet.KEY,
CheckList.getChecks(),
validation);
}
开发者ID:iwarapter,项目名称:sonar-puppet,代码行数:11,代码来源:PuppetProfile.java
示例9: createProfile
import org.sonar.squidbridge.annotations.AnnotationBasedProfileBuilder; //导入依赖的package包/类
@Override
public RulesProfile createProfile(ValidationMessages messages) {
AnnotationBasedProfileBuilder annotationBasedProfileBuilder = new AnnotationBasedProfileBuilder(ruleFinder);
return annotationBasedProfileBuilder.build(
GenericJavaPropertiesRulesDefinition.GENERIC_REPOSITORY_KEY,
SONARQUBE_WAY_PROFILE_NAME,
JavaPropertiesLanguage.KEY,
GenericJavaPropertiesRulesDefinition.getChecks(),
messages);
}
开发者ID:racodond,项目名称:sonar-jproperties-plugin,代码行数:11,代码来源:JavaPropertiesProfile.java
示例10: createProfile
import org.sonar.squidbridge.annotations.AnnotationBasedProfileBuilder; //导入依赖的package包/类
@Override
public RulesProfile createProfile(ValidationMessages messages) {
AnnotationBasedProfileBuilder annotationBasedProfileBuilder = new AnnotationBasedProfileBuilder(ruleFinder);
return annotationBasedProfileBuilder.build(
CheckList.REPOSITORY_KEY,
SONARQUBE_WAY_PROFILE_NAME,
JSONLanguage.KEY,
CheckList.getChecks(),
messages);
}
开发者ID:racodond,项目名称:sonar-json-plugin,代码行数:11,代码来源:JSONProfile.java
示例11: createProfile
import org.sonar.squidbridge.annotations.AnnotationBasedProfileBuilder; //导入依赖的package包/类
@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);
}
开发者ID:SonarQubeCommunity,项目名称:sonar-lua,代码行数:11,代码来源:LuaProfile.java
注:本文中的org.sonar.squidbridge.annotations.AnnotationBasedProfileBuilder类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论