Interface GwtDevOptions

All Known Implementing Classes:
GwtDev, GwtDevOptionsImpl

public interface GwtDevOptions
Defines the options known by the GwtDev task.
  • Method Details

    • getNoserver

      Boolean getNoserver()
    • setNoserver

      void setNoserver(Boolean noserver)
      Sets the "-noserver" flag that causes the GWT dev mode to not start the internal webserver (jetty) but only the code server that runs the GWT client part. The developer must ensure that an appropriate webserver is running to serve the static files/backend.
      Parameters:
      noserver - true if the "-noserver" flag should be set.
    • getPort

      Integer getPort()
    • setPort

      void setPort(Integer port)
      Sets the "-port" option.
      Parameters:
      port - Valid range is [1, 65535]
    • getWhitelist

      String getWhitelist()
    • setWhitelist

      void setWhitelist(String whitelist)
      Sets the "-whitelist" option
      Parameters:
      whitelist - The white list specified.
    • getBlacklist

      String getBlacklist()
    • setBlacklist

      void setBlacklist(String blacklist)
      Sets the "-blacklist" option.
      Parameters:
      blacklist - The black list specified.
    • getLogDir

      File getLogDir()
    • setLogDir

      void setLogDir(File logDir)
      Sets the "-logdir" option.
      Parameters:
      logDir - The log dir specified.
    • getBindAddress

      String getBindAddress()
    • setBindAddress

      void setBindAddress(String bindAddress)
      Sets the "-bindAddress" option.
      Parameters:
      bindAddress - The bind address option specified.
    • getCodeServerPort

      Integer getCodeServerPort()
    • setCodeServerPort

      void setCodeServerPort(Integer codeServerPort)
      Sets the "-codeServerPort" option.
      Parameters:
      codeServerPort - Valid range is [1, 65535]
    • getServer

      String getServer()
    • setServer

      void setServer(String server)
      Sets the "-server" option.
      Parameters:
      server - The server option specified.
    • getStartupUrl

      String getStartupUrl()
    • setStartupUrl

      void setStartupUrl(String startupUrl)
      Sets the "-startupUrl" option.
      Parameters:
      startupUrl - The startup Url specified.
    • getAutoPort

      Boolean getAutoPort()
    • setAutoPort

      void setAutoPort(Boolean autoPort)
      Is set to true, this causes the "-port" to be automatically assigned using a free port.
      Parameters:
      autoPort - Whether to be automatically assigned using a free port for "-port" or not.
    • getAutoCodeServerPort

      Boolean getAutoCodeServerPort()
    • setAutoCodeServerPort

      void setAutoCodeServerPort(Boolean autoCodeServerPort)
      Is set to true, this causes the "-codeServerPort" to be automatically assigned using a free port.
      Parameters:
      autoCodeServerPort - Whether to be automatically assigned using a free port for "-codeServerPort" or not.
    • getSuperDevMode

      Boolean getSuperDevMode()
    • setSuperDevMode

      void setSuperDevMode(Boolean superDevMode)
      Is set to true, this causes the "-superDevMode" (added in GWT 2.7) flag to be added.
      Parameters:
      superDevMode - Whether to add "-superDevMode" (added in GWT 2.7) flag or not.
    • getStartServer

      Boolean getStartServer()
    • setStartServer

      void setStartServer(Boolean startServer)
      Is set to true, this causes the "-startServer" (added in GWT 2.7) flag to be added.
      Parameters:
      startServer - Whether to add "-startServer" (added in GWT 2.7) flag or not.