public class GwtManifest extends Object
| Constructor and Description |
|---|
GwtManifest() |
GwtManifest(String moduleName) |
public GwtManifest()
public GwtManifest(String moduleName)
public GwtManifest addDependency(String dep)
public GwtManifest addExtraArg(String extraArg)
public GwtManifest addJvmArg(String jvmArg)
public GwtManifest addSource(String src)
public GwtManifest addSystemProp(String sysProp)
public GwtManifest clearDependencies()
public GwtManifest clearExtraArgs()
public GwtManifest clearJvmArgs()
public GwtManifest clearSources()
public GwtManifest clearSystemProps()
public String getDeployDir()
public String getExtrasDir()
public int getFragments()
public String getGenDir()
public String getGwtVersion()
public int getLocalWorkers()
public com.google.gwt.core.ext.TreeLogger.Type getLogLevel()
public String getModuleName()
public ObfuscationLevel getObfuscationLevel()
public OpenAction getOpenAction()
public int getOptimizationLevel()
public int getPort()
public String getUnitCacheDir()
public String getUrlToOpen()
public String getWarDir()
public String getWorkDir()
public boolean isAutoOpen()
public boolean isClosureCompiler()
public boolean isDisableAggressiveOptimize()
public boolean isDisableCastCheck()
public boolean isDisableClassMetadata()
public boolean isDisableRunAsync()
public boolean isDisableThreadedWorkers()
public boolean isDisableUnitCache()
public boolean isDraftCompile()
public boolean isEnableAssertions()
public boolean isSoyc()
public boolean isSoycDetailed()
public boolean isStrict()
public boolean isValidateOnly()
public GwtManifest setAutoOpen(boolean autoOpen)
public GwtManifest setClosureCompiler(boolean closureCompiler)
public GwtManifest setDependencies(IntTo<String> dependencies)
public GwtManifest setDeployDir(String deployDir)
public GwtManifest setDisableAggressiveOptimize(boolean disableAggressiveOptimize)
public GwtManifest setDisableCastCheck(boolean disableCastCheck)
public GwtManifest setDisableClassMetadata(boolean disableClassMetadata)
public GwtManifest setDisableRunAsync(boolean disableRunAsync)
public GwtManifest setDisableThreadedWorkers(boolean disableThreadedWorkers)
public GwtManifest setDisableUnitCache(boolean disableUnitCache)
public GwtManifest setDraftCompile(boolean draftCompile)
public GwtManifest setEnableAssertions(boolean enableAssertions)
public GwtManifest setExtraArgs(IntTo<String> extraArgs)
public GwtManifest setExtrasDir(String extrasDir)
public GwtManifest setFragments(int fragments)
public GwtManifest setGenDir(String genDir)
public GwtManifest setGwtVersion(String gwtVersion)
public GwtManifest setLocalWorkers(int localWorkers)
public GwtManifest setLogLevel(com.google.gwt.core.ext.TreeLogger.Type logLevel)
public GwtManifest setModuleName(String moduleName)
public GwtManifest setObfuscationLevel(ObfuscationLevel obfuscationLevel)
public GwtManifest setOpenAction(OpenAction openAction)
public GwtManifest setOptimizationLevel(int optimizationLevel)
public GwtManifest setPort(int port)
public GwtManifest setSources(IntTo<String> sources)
public GwtManifest setSoyc(boolean soyc)
public GwtManifest setSoycDetailed(boolean soycDetailed)
public GwtManifest setStrict(boolean strict)
public GwtManifest setSystemProperties(IntTo<String> systemProperties)
public GwtManifest setUnitCacheDir(String unitCacheDir)
public GwtManifest setUrlToOpen(String urlToOpen)
public GwtManifest setValidateOnly(boolean validateOnly)
public GwtManifest setWarDir(String warDir)
public GwtManifest setWorkDir(String workDir)
public String toProgramArgs()
public String toProgramArgs(boolean isRecompile)
public String[] toClasspath(boolean includeCodeserver, String gwtHome, String gwtVersion)
protected void addGwtArtifact(IntTo<String> cp, String gwtHome, String gwtVersion, String artifact)
protected void addItemsBeforeGwtDev(IntTo<String> cp, boolean inDependencies)
cp - - Array of classpath elements; append to inject classpath items.inDependencies - - Whether gwt-dev was found in source or in dependencies
You are recommended to check getSources() and getDependencies() for
duplicate artifacts; the inDependencies boolean will let you know how deeply you should search.public String toJvmArgs()
public String[] toJvmArgArray()
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.