Package org.docstr.gwt
Class GwtPluginExtension.DevModeOptions
java.lang.Object
org.docstr.gwt.GwtBaseOptions
org.docstr.gwt.GwtPluginExtension.DevModeOptions
- Enclosing class:
- GwtPluginExtension
Nested class for Dev Mode options
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.gradle.api.provider.Property<String>-bindAddressSpecifies the bind address for the code server and web server (defaults to 127.0.0.1)abstract org.gradle.api.provider.Property<Integer>-codeServerPortSpecifies the TCP port for the code server (defaults to 9997 for classic Dev Mode or 9876 for Super Dev Mode)abstract org.gradle.api.file.DirectoryProperty-logdirLogs to a file in the given directory, as well as graphicallyabstract org.gradle.api.provider.Property<String>-modulePathPrefixThe subdirectory inside the war dir where DevMode will create module directories.abstract org.gradle.api.provider.Property<Integer>getPort()-portSpecifies the TCP port for the embedded web server (defaults to 8888)abstract org.gradle.api.provider.Property<String>-serverSpecify a different embedded web server to run (must implement ServletContainerLauncher)abstract org.gradle.api.provider.Property<Boolean>-[no]startServerStarts a servlet container serving the directory specified by the -war flag.abstract org.gradle.api.provider.Property<String>-startupUrlAutomatically launches the specified URLabstract org.gradle.api.provider.Property<Boolean>-[no]superDevModeRuns Super Dev Mode instead of classic Development Mode.Methods inherited from class org.docstr.gwt.GwtBaseOptions
getCacheDir, getDeploy, getExcludeJsInteropExports, getExtra, getFailOnError, getGen, getGenerateJsInteropExports, getIncludeJsInteropExports, getIncremental, getLogLevel, getMaxHeapSize, getMethodNameDisplayMode, getMinHeapSize, getModules, getSetProperty, getSourceLevel, getStyle, getWar, getWorkDir
-
Constructor Details
-
DevModeOptions
public DevModeOptions()
-
-
Method Details
-
getStartServer
-[no]startServerStarts a servlet container serving the directory specified by the -war flag. (defaults to ON)- Returns:
- The start server flag
-
getPort
-portSpecifies the TCP port for the embedded web server (defaults to 8888)- Returns:
- The port
-
getLogdir
public abstract org.gradle.api.file.DirectoryProperty getLogdir()-logdirLogs to a file in the given directory, as well as graphically- Returns:
- The log directory
-
getBindAddress
-bindAddressSpecifies the bind address for the code server and web server (defaults to 127.0.0.1)- Returns:
- The bind address
-
getCodeServerPort
-codeServerPortSpecifies the TCP port for the code server (defaults to 9997 for classic Dev Mode or 9876 for Super Dev Mode)- Returns:
- The code server port
-
getSuperDevMode
-[no]superDevModeRuns Super Dev Mode instead of classic Development Mode. (defaults to ON)- Returns:
- The super dev mode
-
getServer
-serverSpecify a different embedded web server to run (must implement ServletContainerLauncher)- Returns:
- The server
-
getStartupUrl
-startupUrlAutomatically launches the specified URL- Returns:
- The startup URL
-
getModulePathPrefix
-modulePathPrefixThe subdirectory inside the war dir where DevMode will create module directories. (defaults empty for top level)- Returns:
- The module path prefix
-