Java 类org.gradle.api.Incubating 实例源码

项目:Reer    文件:FindBugs.java   
/**
 * A filter specifying which bugs are reported. Replaces the {@code includeFilter} property.
 *
 * @since 2.2
 */
@Incubating
@Nested
@Optional
public TextResource getIncludeFilterConfig() {
    return includeFilterConfig;
}
项目:Reer    文件:Zip.java   
/**
 * 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;
}
项目:Reer    文件:CompileOptions.java   
@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;
}
项目:Reer    文件:StartParameter.java   
/**
 * 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;
    }
}
项目:Reer    文件:ReportContainer.java   
@Incubating
@OutputFiles
Map<String, File> getEnabledFileReportDestinations();
项目:Reer    文件:ResolvedArtifact.java   
@Incubating
ComponentArtifactIdentifier getId();
项目:Reer    文件:Pmd.java   
/**
 * Specifies the rule priority threshold.
 *
 * @see PmdExtension#rulePriority
 */
@Input
@Incubating
public int getRulePriority() {
    return rulePriority;
}
项目:Reer    文件:Pmd.java   
/**
 * Whether or not to write PMD results to {@code System.out}.
 */
@Input
@Incubating
public boolean isConsoleOutput() {
    return consoleOutput;
}
项目:Reer    文件:StartParameter.java   
@Incubating
public List<File> getIncludedBuilds() {
    return Collections.unmodifiableList(includedBuilds);
}
项目:Reer    文件:CreateStartScripts.java   
/**
 * 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;
}
项目:Reer    文件:FindBugsExtension.java   
@Incubating
public void setIncludeFilterConfig(TextResource includeFilterConfig) {
    this.includeFilterConfig = includeFilterConfig;
}
项目:Reer    文件:StartParameter.java   
@Incubating
public boolean isContinuous() {
    return continuous;
}
项目:Reer    文件:FindBugsExtension.java   
@Incubating
public void setExcludeBugsFilterConfig(TextResource excludeBugsFilterConfig) {
    this.excludeBugsFilterConfig = excludeBugsFilterConfig;
}
项目:Reer    文件:Configuration.java   
@Incubating
void setCanBeConsumed(boolean allowed);
项目:Reer    文件:CodeNarc.java   
/**
 * The CodeNarc configuration to use. Replaces the {@code configFile} property.
 *
 * @since 2.2
 */
@Incubating
@Nested
public TextResource getConfig() {
    return config;
}
项目:Reer    文件:JUnitOptions.java   
@Incubating
public void setIncludeCategories(Set<String> includeCategories) {
    this.includeCategories = includeCategories;
}
项目:Reer    文件:IdeaModule.java   
@Incubating
public void setScalaPlatform(ScalaPlatform scalaPlatform) {
    this.scalaPlatform = scalaPlatform;
}
项目:Reer    文件:PmdExtension.java   
/**
 * Whether or not to write PMD results to {@code System.out}.
 */
@Incubating
public boolean isConsoleOutput() {
    return consoleOutput;
}
项目:Reer    文件:DefaultLoggingConfiguration.java   
@Override
@Incubating
public ConsoleOutput getConsoleOutput() {
    return consoleOutput;
}
项目:Reer    文件:GroovyCompileOptions.java   
/**
 * 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;
}
项目:Reer    文件:Project.java   
/**
 * The vcs used by the project.
 */
@Incubating
public String getVcs() {
    return vcs;
}
项目:Reer    文件:StartParameter.java   
/**
 * If the configure-on-demand mode is active
 */
@Incubating
public boolean isConfigureOnDemand() {
    return configureOnDemand;
}
项目:Reer    文件:IdeaModule.java   
/**
 * The Scala version used by this module.
 */
@Incubating
public ScalaPlatform getScalaPlatform() {
    return scalaPlatform;
}
项目:Reer    文件:IdeaModule.java   
@Incubating
public void setLanguageLevel(IdeaLanguageLevel languageLevel) {
    this.languageLevel = languageLevel;
}
项目:Reer    文件:ProjectBuilder.java   
/**
 * Specifies the Gradle user home for the builder. If not set, an empty directory under the project directory
 * will be used.
 * @return The builder
 */
@Incubating
public ProjectBuilder withGradleUserHomeDir(File dir) {
    gradleUserHomeDir = dir;
    return this;
}
项目:Reer    文件:AuthenticationSupportedInternal.java   
@Incubating
void setConfiguredCredentials(Credentials credentials);
项目:Reer    文件:Project.java   
/**
 * The project-level libraries of the IDEA project.
 */
@Incubating
public Set<ProjectLibrary> getProjectLibraries() {
    return projectLibraries;
}
项目:Reer    文件:Project.java   
@Incubating
public void setVcs(String vcs) {
    this.vcs = vcs;
}
项目:Reer    文件:StartParameter.java   
@Incubating
public void setContinuous(boolean enabled) {
    this.continuous = enabled;
}
项目:Reer    文件:IdeaProject.java   
/**
 * The project-level libraries to be added to the IDEA project.
 */
@Incubating
public Set<ProjectLibrary> getProjectLibraries() {
    return projectLibraries;
}
项目:Reer    文件:JavaCompile.java   
/**
 * Sets the tool chain that should be used to compile the Java source.
 *
 * @param toolChain The tool chain.
 */
@Incubating
public void setToolChain(JavaToolChain toolChain) {
    // Implementation is generated
    throw new UnsupportedOperationException();
}
项目:Reer    文件:Javadoc.java   
/**
 * Returns the tool chain that will be used to generate the Javadoc.
 */
@Incubating @Inject
public JavaToolChain getToolChain() {
    // Implementation is generated
    throw new UnsupportedOperationException();
}
项目:Reer    文件:Javadoc.java   
/**
 * Sets the tool chain to use to generate the Javadoc.
 */
@Incubating
public void setToolChain(JavaToolChain toolChain) {
    // Implementation is generated
    throw new UnsupportedOperationException();
}
项目:Reer    文件:TestNGOptions.java   
@Incubating
public void setOutputDirectory(File outputDirectory) {
    this.outputDirectory = outputDirectory;
}
项目:Reer    文件:TestNGOptions.java   
@Incubating
public void setPreserveOrder(boolean preserveOrder) {
    this.preserveOrder = preserveOrder;
}
项目:Reer    文件:GroovyCompileOptions.java   
/**
 * A Groovy script file that configures the compiler, allowing extensive control over how the code is compiled.
 * <p>
 * The script is executed as Groovy code, with the following context:
 * <ul>
 * <li>The instance of <a href="http://docs.groovy-lang.org/latest/html/gapi/org/codehaus/groovy/control/CompilerConfiguration.html">CompilerConfiguration</a> available as the {@code configuration} variable.</li>
 * <li>All static members of <a href="http://docs.groovy-lang.org/latest/html/gapi/org/codehaus/groovy/control/customizers/builder/CompilerCustomizationBuilder.html">CompilerCustomizationBuilder</a> pre imported.</li>
 * </ul>
 * </p>
 * <p>
 * This facilitates the following pattern:
 * <pre>
 * withConfig(configuration) {
 *   // use compiler configuration DSL here
 * }
 * </pre>
 * </p>
 * <p>
 * For example, to activate type checking for all Groovy classes…
 * <pre>
 * import groovy.transform.TypeChecked
 *
 * withConfig(configuration) {
 *     ast(TypeChecked)
 * }
 * </pre>
 * </p>
 * <p>
 * Please see <a href="http://docs.groovy-lang.org/latest/html/documentation/#compilation-customizers">the Groovy compiler customization builder documentation</a>
 * for more information about the compiler configuration DSL.
 * </p>
 * <p>
 * <b>This feature is only available if compiling with Groovy 2.1 or later.</b>
 * </p>
 * @see <a href="http://docs.groovy-lang.org/latest/html/gapi/org/codehaus/groovy/control/CompilerConfiguration.html">CompilerConfiguration</a>
 * @see <a href="http://docs.groovy-lang.org/latest/html/gapi/org/codehaus/groovy/control/customizers/builder/CompilerCustomizationBuilder.html">CompilerCustomizationBuilder</a>
 */
@InputFile
@Incubating
@Optional
public File getConfigurationScript() {
    return configurationScript;
}
项目:Reer    文件:IdeaModule.java   
/**
 * The module specific language Level to use for this module.
 * When {@code null}, the module will inherit the language level from the idea project.
 * <p>
 * The Idea module language level is based on the {@code sourceCompatibility} settings for the associated Gradle project.
 */
@Incubating
public IdeaLanguageLevel getLanguageLevel() {
    return languageLevel;
}
项目:Reer    文件:CopySpec.java   
/**
 * The strategy to use when trying to copy more than one file to the same destination. Set to {@code null} to use the default strategy, which is inherited
 * from the parent copy spec, if any, or {@link DuplicatesStrategy#INCLUDE} if this copy spec has no parent.
 */
@Incubating
void setDuplicatesStrategy(@Nullable DuplicatesStrategy strategy);
项目:Reer    文件:Jar.java   
/**
 * The character set used to encode the manifest content.
 * Defaults to UTF-8.
 * You can change this property but it is not recommended as JVMs expect manifests content to be encoded using UTF-8.
 *
 * @return the character set used to encode the manifest content
 * @since 2.14
 */
@Input
@Incubating
public String getManifestContentCharset() {
    return manifestContentCharset;
}
项目:Reer    文件:IdeaProject.java   
/**
 * The vcs for the project.
 * <p>
 * Values are the same as used in IDEA's “Version Control” preference window (e.g. 'Git', 'Subversion').
 * <p>
 * See the examples in the docs for {@link IdeaProject}.
 */
@Incubating
public String getVcs() {
    return vcs;
}