本文整理汇总了Java中org.sonar.api.batch.sensor.SensorDescriptor.name方法的典型用法代码示例。如果您正苦于以下问题:Java SensorDescriptor.name方法的具体用法?Java SensorDescriptor.name怎么用?Java SensorDescriptor.name使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.sonar.api.batch.sensor.SensorDescriptor
的用法示例。
在下文中一共展示了SensorDescriptor.name方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: describe
import org.sonar.api.batch.sensor.SensorDescriptor; //导入方法依赖的package包/类
@Override
public void describe(SensorDescriptor descriptor)
{
descriptor.onlyOnLanguage("d");
descriptor.name("D-Scanner sensor");
descriptor.createIssuesForRuleRepository("dscanner");
}
示例2: describe
import org.sonar.api.batch.sensor.SensorDescriptor; //导入方法依赖的package包/类
@Override
public final void describe(final SensorDescriptor descriptor) {
descriptor.name("Package Analyzer Sensor (" + language + ")");
descriptor.onlyOnLanguage(language);
descriptor.createIssuesForRuleRepository(BaseRules.getRepositoryKey(language));
}
示例3: describe
import org.sonar.api.batch.sensor.SensorDescriptor; //导入方法依赖的package包/类
@Override
public void describe(SensorDescriptor descriptor) {
descriptor.name("Stryker Mutation testing Sensor");
}
示例4: describe
import org.sonar.api.batch.sensor.SensorDescriptor; //导入方法依赖的package包/类
@Override
public void describe(SensorDescriptor descriptor) {
descriptor.name("Embedded CSS Analyzer Sensor");
}
示例5: describe
import org.sonar.api.batch.sensor.SensorDescriptor; //导入方法依赖的package包/类
@Override
public void describe(SensorDescriptor descriptor) {
descriptor.name(getClass().getName());
}
示例6: describe
import org.sonar.api.batch.sensor.SensorDescriptor; //导入方法依赖的package包/类
@Override
public void describe(final SensorDescriptor descriptor) {
descriptor.name("Packages sensor");
descriptor.onlyOnLanguage(Rules.LANGUAGE_JAVA);
}
示例7: describe
import org.sonar.api.batch.sensor.SensorDescriptor; //导入方法依赖的package包/类
@Override
public void describe(final SensorDescriptor descriptor) {
descriptor.name("jDepend sensor");
descriptor.onlyOnLanguage(Rules.LANGUAGE_JAVA);
}
示例8: describe
import org.sonar.api.batch.sensor.SensorDescriptor; //导入方法依赖的package包/类
@Override
public void describe(SensorDescriptor descriptor) {
descriptor.name("versiondebt sensor");
}
示例9: describe
import org.sonar.api.batch.sensor.SensorDescriptor; //导入方法依赖的package包/类
@Override
public void describe(SensorDescriptor descriptor) {
descriptor.name("Xanitizer Sensor");
descriptor.createIssuesForRuleRepository(XanitizerRulesDefinition.REPOSITORY_KEY);
}
示例10: describe
import org.sonar.api.batch.sensor.SensorDescriptor; //导入方法依赖的package包/类
@Override
public void describe(final SensorDescriptor descriptor) {
descriptor.name(this.getClass()
.getSimpleName());
descriptor.onlyOnLanguage(Java.KEY);
}
示例11: describe
import org.sonar.api.batch.sensor.SensorDescriptor; //导入方法依赖的package包/类
@Override
public void describe(SensorDescriptor descriptor) {
descriptor.name("Combined LCOV and LOC sensor");
descriptor.onlyOnLanguage(TypeScriptLanguage.LANGUAGE_KEY);
}
示例12: describe
import org.sonar.api.batch.sensor.SensorDescriptor; //导入方法依赖的package包/类
@Override
public void describe(SensorDescriptor descriptor) {
descriptor
.name("Coverage Report Import");
}
示例13: describe
import org.sonar.api.batch.sensor.SensorDescriptor; //导入方法依赖的package包/类
@Override
public void describe(SensorDescriptor descriptor) {
descriptor.name("Unit Test Results Import");
}
示例14: describe
import org.sonar.api.batch.sensor.SensorDescriptor; //导入方法依赖的package包/类
@Override
public void describe(SensorDescriptor descriptor) {
descriptor.name("LITS");
}