本文整理汇总了Java中org.gradle.api.Incubating类的典型用法代码示例。如果您正苦于以下问题:Java Incubating类的具体用法?Java Incubating怎么用?Java Incubating使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Incubating类属于org.gradle.api包,在下文中一共展示了Incubating类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: getIncludeFilterConfig
import org.gradle.api.Incubating; //导入依赖的package包/类
/**
* A filter specifying which bugs are reported. Replaces the {@code includeFilter} property.
*
* @since 2.2
*/
@Incubating
@Nested
@Optional
public TextResource getIncludeFilterConfig() {
return includeFilterConfig;
}
开发者ID:lxxlxx888,项目名称:Reer,代码行数:12,代码来源:FindBugs.java
示例2: setMetadataCharset
import org.gradle.api.Incubating; //导入依赖的package包/类
/**
* The character set used to encode ZIP metadata like file names.
* Defaults to the platform's default character set.
*
* @param metadataCharset the character set used to encode ZIP metadata like file names
* @since 2.14
*/
@Incubating
public void setMetadataCharset(String metadataCharset) {
if (metadataCharset == null) {
throw new InvalidUserDataException("metadataCharset must not be null");
}
if (!Charset.isSupported(metadataCharset)) {
throw new InvalidUserDataException(String.format("Charset for metadataCharset '%s' is not supported by your JVM", metadataCharset));
}
this.metadataCharset = metadataCharset;
}
开发者ID:lxxlxx888,项目名称:Reer,代码行数:18,代码来源:Zip.java
示例3: setIncremental
import org.gradle.api.Incubating; //导入依赖的package包/类
@Incubating
/**
* Configure the java compilation to be incremental (e.g. compiles only those java classes that were changed or that are dependencies to the changed classes).
* The feature is incubating and does not yet satisfies all compilation scenarios.
*/
public CompileOptions setIncremental(boolean incremental) {
SingleMessageLogger.incubatingFeatureUsed("Incremental java compilation");
this.incremental = incremental;
return this;
}
开发者ID:lxxlxx888,项目名称:Reer,代码行数:11,代码来源:CompileOptions.java
示例4: setMaxWorkerCount
import org.gradle.api.Incubating; //导入依赖的package包/类
/**
* Specifies the maximum number of concurrent workers used for underlying build operations.
*
* @throws IllegalArgumentException if {@code maxWorkerCount} is < 1
* @see #getMaxWorkerCount()
*/
@Incubating
public void setMaxWorkerCount(int maxWorkerCount) {
if (maxWorkerCount < 1) {
throw new IllegalArgumentException("Max worker count must be > 0");
} else {
this.maxWorkerCount = maxWorkerCount;
}
}
开发者ID:lxxlxx888,项目名称:Reer,代码行数:15,代码来源:StartParameter.java
示例5: getEnabledFileReportDestinations
import org.gradle.api.Incubating; //导入依赖的package包/类
@Incubating
@OutputFiles
Map<String, File> getEnabledFileReportDestinations();
开发者ID:lxxlxx888,项目名称:Reer,代码行数:4,代码来源:ReportContainer.java
示例6: getId
import org.gradle.api.Incubating; //导入依赖的package包/类
@Incubating
ComponentArtifactIdentifier getId();
开发者ID:lxxlxx888,项目名称:Reer,代码行数:3,代码来源:ResolvedArtifact.java
示例7: getRulePriority
import org.gradle.api.Incubating; //导入依赖的package包/类
/**
* Specifies the rule priority threshold.
*
* @see PmdExtension#rulePriority
*/
@Input
@Incubating
public int getRulePriority() {
return rulePriority;
}
开发者ID:lxxlxx888,项目名称:Reer,代码行数:11,代码来源:Pmd.java
示例8: isConsoleOutput
import org.gradle.api.Incubating; //导入依赖的package包/类
/**
* Whether or not to write PMD results to {@code System.out}.
*/
@Input
@Incubating
public boolean isConsoleOutput() {
return consoleOutput;
}
开发者ID:lxxlxx888,项目名称:Reer,代码行数:9,代码来源:Pmd.java
示例9: getIncludedBuilds
import org.gradle.api.Incubating; //导入依赖的package包/类
@Incubating
public List<File> getIncludedBuilds() {
return Collections.unmodifiableList(includedBuilds);
}
开发者ID:lxxlxx888,项目名称:Reer,代码行数:5,代码来源:StartParameter.java
示例10: getWindowsStartScriptGenerator
import org.gradle.api.Incubating; //导入依赖的package包/类
/**
* The Windows start script generator.
* <p>
* Defaults to an implementation of {@link org.gradle.jvm.application.scripts.TemplateBasedScriptGenerator}.
*/
@Incubating
@Internal
public ScriptGenerator getWindowsStartScriptGenerator() {
return windowsStartScriptGenerator;
}
开发者ID:lxxlxx888,项目名称:Reer,代码行数:11,代码来源:CreateStartScripts.java
示例11: setIncludeFilterConfig
import org.gradle.api.Incubating; //导入依赖的package包/类
@Incubating
public void setIncludeFilterConfig(TextResource includeFilterConfig) {
this.includeFilterConfig = includeFilterConfig;
}
开发者ID:lxxlxx888,项目名称:Reer,代码行数:5,代码来源:FindBugsExtension.java
示例12: isContinuous
import org.gradle.api.Incubating; //导入依赖的package包/类
@Incubating
public boolean isContinuous() {
return continuous;
}
开发者ID:lxxlxx888,项目名称:Reer,代码行数:5,代码来源:StartParameter.java
示例13: setExcludeBugsFilterConfig
import org.gradle.api.Incubating; //导入依赖的package包/类
@Incubating
public void setExcludeBugsFilterConfig(TextResource excludeBugsFilterConfig) {
this.excludeBugsFilterConfig = excludeBugsFilterConfig;
}
开发者ID:lxxlxx888,项目名称:Reer,代码行数:5,代码来源:FindBugsExtension.java
示例14: setCanBeConsumed
import org.gradle.api.Incubating; //导入依赖的package包/类
@Incubating
void setCanBeConsumed(boolean allowed);
开发者ID:lxxlxx888,项目名称:Reer,代码行数:3,代码来源:Configuration.java
示例15: getConfig
import org.gradle.api.Incubating; //导入依赖的package包/类
/**
* The CodeNarc configuration to use. Replaces the {@code configFile} property.
*
* @since 2.2
*/
@Incubating
@Nested
public TextResource getConfig() {
return config;
}
开发者ID:lxxlxx888,项目名称:Reer,代码行数:11,代码来源:CodeNarc.java
示例16: setIncludeCategories
import org.gradle.api.Incubating; //导入依赖的package包/类
@Incubating
public void setIncludeCategories(Set<String> includeCategories) {
this.includeCategories = includeCategories;
}
开发者ID:lxxlxx888,项目名称:Reer,代码行数:5,代码来源:JUnitOptions.java
示例17: setScalaPlatform
import org.gradle.api.Incubating; //导入依赖的package包/类
@Incubating
public void setScalaPlatform(ScalaPlatform scalaPlatform) {
this.scalaPlatform = scalaPlatform;
}
开发者ID:lxxlxx888,项目名称:Reer,代码行数:5,代码来源:IdeaModule.java
示例18: isConsoleOutput
import org.gradle.api.Incubating; //导入依赖的package包/类
/**
* Whether or not to write PMD results to {@code System.out}.
*/
@Incubating
public boolean isConsoleOutput() {
return consoleOutput;
}
开发者ID:lxxlxx888,项目名称:Reer,代码行数:8,代码来源:PmdExtension.java
示例19: getConsoleOutput
import org.gradle.api.Incubating; //导入依赖的package包/类
@Override
@Incubating
public ConsoleOutput getConsoleOutput() {
return consoleOutput;
}
开发者ID:lxxlxx888,项目名称:Reer,代码行数:6,代码来源:DefaultLoggingConfiguration.java
示例20: getFileExtensions
import org.gradle.api.Incubating; //导入依赖的package包/类
/**
* Returns the list of acceptable source file extensions. Only takes effect when compiling against
* Groovy 1.7 or higher. Defaults to {@code ImmutableList.of("java", "groovy")}.
*/
@Input
@Incubating
public List<String> getFileExtensions() {
return fileExtensions;
}
开发者ID:lxxlxx888,项目名称:Reer,代码行数:10,代码来源:GroovyCompileOptions.java
注:本文中的org.gradle.api.Incubating类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论