All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wisepersist.gradle.plugins.gwt.internal.GwtCompileOptionsImpl Maven / Gradle / Ivy

There is a newer version: 1.1.19
Show newest version
/**
 * Copyright (C) 2013-2017 Steffen Schaefer
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.wisepersist.gradle.plugins.gwt.internal;

import java.io.File;
import org.wisepersist.gradle.plugins.gwt.GwtCompileOptions;
import org.wisepersist.gradle.plugins.gwt.Namespace;
import org.wisepersist.gradle.plugins.gwt.Style;


/**
 * Default implementation of {@link GwtCompileOptions}.
 */
public class GwtCompileOptionsImpl implements GwtCompileOptions {
	private Integer localWorkers;
	private Boolean draftCompile;
	private Boolean compileReport;
	// -XcompilerMetrics
	private Boolean compilerMetrics;
	
	private Boolean validateOnly;
	// -XdisableGeneratingOnShards
	private Boolean disableGeneratingOnShards;
	
	private Integer optimize;
	// -XdisableAggressiveOptimization
	private Boolean disableAggressiveOptimization;
	private Boolean disableClassMetadata;
	private Boolean disableCastChecking;
	private Boolean ea;
	// -XdisableRunAsync
	private Boolean disableRunAsync;
	private Style style;
	// -XsoycDetailed
	private Boolean soycDetailed;
	private Boolean strict;
	// -XdisableSoycHtml
	private Boolean disableSoycHtml;
	// -XfragmentCount
	private Integer fragmentCount;
	private File missingDepsFile;
	private Namespace namespace;
	private Boolean enforceStrictResources;
	private Boolean incrementalCompileWarnings;
	private Boolean overlappingSourceWarnings;
	private Boolean saveSource;
	private File saveSourceOutput;
	// -X[no]closureFormattedOutput
	private Boolean closureFormattedOutput;

	/** {@inheritDoc} */
	@Override
	public Integer getLocalWorkers() {
		return localWorkers;
	}

	/** {@inheritDoc} */
	@Override
	public void setLocalWorkers(Integer localWorkers) {
		this.localWorkers = localWorkers;
	}

	/** {@inheritDoc} */
	@Override
	public Boolean getDraftCompile() {
		return draftCompile;
	}

	/** {@inheritDoc} */
	@Override
	public void setDraftCompile(Boolean draftCompile) {
		this.draftCompile = draftCompile;
	}

	/** {@inheritDoc} */
	@Override
	public Boolean getCompileReport() {
		return compileReport;
	}

	/** {@inheritDoc} */
	@Override
	public void setCompileReport(Boolean compileReport) {
		this.compileReport = compileReport;
	}
	
	/** {@inheritDoc} */
	@Override
	public Boolean getCompilerMetrics() {
		return compilerMetrics;
	}
	
	/** {@inheritDoc} */
	@Override
	public void setCompilerMetrics(Boolean compilerMetrics) {
		this.compilerMetrics = compilerMetrics;
	}

	/** {@inheritDoc} */
	@Override
	public Boolean getValidateOnly() {
		return validateOnly;
	}

	/** {@inheritDoc} */
	@Override
	public void setValidateOnly(Boolean validateOnly) {
		this.validateOnly = validateOnly;
	}

	/** {@inheritDoc} */
	@Override
	public Boolean getDisableGeneratingOnShards() {
		return disableGeneratingOnShards;
	}

	/** {@inheritDoc} */
	@Override
	public void setDisableGeneratingOnShards(Boolean disableGeneratingOnShards) {
		this.disableGeneratingOnShards = disableGeneratingOnShards;
	}

	/** {@inheritDoc} */
	@Override
	public Integer getOptimize() {
		return optimize;
	}

	/** {@inheritDoc} */
	@Override
	public void setOptimize(Integer optimize) {
		this.optimize = optimize;
	}

	/** {@inheritDoc} */
	@Override
	public Boolean getDisableAggressiveOptimization() {
		return disableAggressiveOptimization;
	}

	/** {@inheritDoc} */
	@Override
	public void setDisableAggressiveOptimization(
			Boolean disableAggressiveOptimization) {
		this.disableAggressiveOptimization = disableAggressiveOptimization;
	}

	/** {@inheritDoc} */
	@Override
	public Boolean getDisableClassMetadata() {
		return disableClassMetadata;
	}

	/** {@inheritDoc} */
	@Override
	public void setDisableClassMetadata(Boolean disableClassMetadata) {
		this.disableClassMetadata = disableClassMetadata;
	}

	/** {@inheritDoc} */
	@Override
	public Boolean getDisableCastChecking() {
		return disableCastChecking;
	}

	/** {@inheritDoc} */
	@Override
	public void setDisableCastChecking(Boolean disableCastChecking) {
		this.disableCastChecking = disableCastChecking;
	}

	/** {@inheritDoc} */
	@Override
	public Boolean getEa() {
		return ea;
	}

	/** {@inheritDoc} */
	@Override
	public void setEa(Boolean ea) {
		this.ea = ea;
	}

	/** {@inheritDoc} */
	@Override
	public Boolean getDisableRunAsync() {
		return disableRunAsync;
	}

	/** {@inheritDoc} */
	@Override
	public void setDisableRunAsync(Boolean disableRunAsync) {
		this.disableRunAsync = disableRunAsync;
	}

	/** {@inheritDoc} */
	@Override
	public Style getStyle() {
		return style;
	}

	/** {@inheritDoc} */
	@Override
	public void setStyle(Style style) {
		this.style = style;
	}

	/** {@inheritDoc} */
	@Override
	public Boolean getSoycDetailed() {
		return soycDetailed;
	}

	/** {@inheritDoc} */
	@Override
	public void setSoycDetailed(Boolean soycDetailed) {
		this.soycDetailed = soycDetailed;
	}

	/** {@inheritDoc} */
	@Override
	public Boolean getStrict() {
		return strict;
	}

	/** {@inheritDoc} */
	@Override
	public void setStrict(Boolean strict) {
		this.strict = strict;
	}

	/** {@inheritDoc} */
	@Override
	public Boolean getDisableSoycHtml() {
		return disableSoycHtml;
	}

	/** {@inheritDoc} */
	@Override
	public void setDisableSoycHtml(Boolean disableSoycHtml) {
		this.disableSoycHtml = disableSoycHtml;
	}

	/** {@inheritDoc} */
	@Override
	public Integer getFragmentCount() {
		return fragmentCount;
	}

	/** {@inheritDoc} */
	@Override
	public void setFragmentCount(Integer fragmentCount) {
		this.fragmentCount = fragmentCount;
	}

	/** {@inheritDoc} */
	@Override
	public File getMissingDepsFile() {
		return missingDepsFile;
	}

	/** {@inheritDoc} */
	@Override
	public void setMissingDepsFile(File missingDepsFile) {
		this.missingDepsFile = missingDepsFile;
	}

	/** {@inheritDoc} */
	@Override
	public Namespace getNamespace() {
		return namespace;
	}

	/** {@inheritDoc} */
	@Override
	public void setNamespace(Namespace namespace) {
		this.namespace = namespace;
	}

	/** {@inheritDoc} */
	@Override
	public Boolean getEnforceStrictResources() {
		return enforceStrictResources;
	}

	/** {@inheritDoc} */
	@Override
	public void setEnforceStrictResources(Boolean enforceStrictResources) {
		this.enforceStrictResources = enforceStrictResources;
	}

	/** {@inheritDoc} */
	@Override
	public Boolean getIncrementalCompileWarnings() {
		return incrementalCompileWarnings;
	}

	/** {@inheritDoc} */
	@Override
	public void setIncrementalCompileWarnings(Boolean incrementalCompileWarnings) {
		this.incrementalCompileWarnings = incrementalCompileWarnings;
	}

	/** {@inheritDoc} */
	@Override
	public Boolean getOverlappingSourceWarnings() {
		return overlappingSourceWarnings;
	}

	/** {@inheritDoc} */
	@Override
	public void setOverlappingSourceWarnings(Boolean overlappingSourceWarnings) {
		this.overlappingSourceWarnings = overlappingSourceWarnings;
	}

	/** {@inheritDoc} */
	@Override
	public Boolean getSaveSource() {
		return saveSource;
	}

	/** {@inheritDoc} */
	@Override
	public void setSaveSource(Boolean saveSource) {
		this.saveSource = saveSource;
	}

	/** {@inheritDoc} */
	@Override
	public File getSaveSourceOutput() {
		return saveSourceOutput;
	}

	/** {@inheritDoc} */
	@Override
	public void setSaveSourceOutput(File saveSourceOutput) {
		this.saveSourceOutput = saveSourceOutput;
	}

	/** {@inheritDoc} */
	@Override
	public Boolean getClosureFormattedOutput() {
		return closureFormattedOutput;
	}

	/** {@inheritDoc} */
	@Override
	public void setClosureFormattedOutput(Boolean closureFormattedOutput) {
		this.closureFormattedOutput = closureFormattedOutput;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy