Class GwtDevOptionsImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean getAutoCodeServerPort()
      java.lang.Boolean getAutoPort()
      java.lang.String getBindAddress()
      java.lang.String getBlacklist()
      java.lang.Integer getCodeServerPort()
      java.io.File getLogDir()
      java.lang.Boolean getNoserver()
      java.lang.Integer getPort()
      java.lang.String getServer()
      java.lang.Boolean getStartServer()
      java.lang.String getStartupUrl()
      java.lang.Boolean getSuperDevMode()
      java.lang.String getWhitelist()
      void setAutoCodeServerPort​(java.lang.Boolean autoCodeServerPort)
      Is set to true, this causes the "-codeServerPort" to be automatically assigned using a free port.
      void setAutoPort​(java.lang.Boolean autoPort)
      Is set to true, this causes the "-port" to be automatically assigned using a free port.
      void setBindAddress​(java.lang.String bindAddress)
      Sets the "-bindAddress" option.
      void setBlacklist​(java.lang.String blacklist)
      Sets the "-blacklist" option.
      void setCodeServerPort​(java.lang.Integer codeServerPort)
      Sets the "-codeServerPort" option.
      void setLogDir​(java.io.File logDir)
      Sets the "-logdir" option.
      void setNoserver​(java.lang.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.
      void setPort​(java.lang.Integer port)
      Sets the "-port" option.
      void setServer​(java.lang.String server)
      Sets the "-server" option.
      void setStartServer​(java.lang.Boolean startServer)
      Is set to true, this causes the "-startServer" (added in GWT 2.7) flag to be added.
      void setStartupUrl​(java.lang.String startupUrl)
      Sets the "-startupUrl" option.
      void setSuperDevMode​(java.lang.Boolean superDevMode)
      Is set to true, this causes the "-superDevMode" (added in GWT 2.7) flag to be added.
      void setWhitelist​(java.lang.String whitelist)
      Sets the "-whitelist" option
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GwtDevOptionsImpl

        public GwtDevOptionsImpl()
    • Method Detail

      • setNoserver

        public void setNoserver​(java.lang.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.
        Specified by:
        setNoserver in interface GwtDevOptions
        Parameters:
        noserver - true if the "-noserver" flag should be set.
      • setPort

        public void setPort​(java.lang.Integer port)
        Sets the "-port" option.
        Specified by:
        setPort in interface GwtDevOptions
        Parameters:
        port - Valid range is [1, 65535]
      • setWhitelist

        public void setWhitelist​(java.lang.String whitelist)
        Sets the "-whitelist" option
        Specified by:
        setWhitelist in interface GwtDevOptions
        Parameters:
        whitelist - The white list specified.
      • setBlacklist

        public void setBlacklist​(java.lang.String blacklist)
        Sets the "-blacklist" option.
        Specified by:
        setBlacklist in interface GwtDevOptions
        Parameters:
        blacklist - The black list specified.
      • setLogDir

        public void setLogDir​(java.io.File logDir)
        Sets the "-logdir" option.
        Specified by:
        setLogDir in interface GwtDevOptions
        Parameters:
        logDir - The log dir specified.
      • setBindAddress

        public void setBindAddress​(java.lang.String bindAddress)
        Sets the "-bindAddress" option.
        Specified by:
        setBindAddress in interface GwtDevOptions
        Parameters:
        bindAddress - The bind address option specified.
      • setCodeServerPort

        public void setCodeServerPort​(java.lang.Integer codeServerPort)
        Sets the "-codeServerPort" option.
        Specified by:
        setCodeServerPort in interface GwtDevOptions
        Parameters:
        codeServerPort - Valid range is [1, 65535]
      • setServer

        public void setServer​(java.lang.String server)
        Sets the "-server" option.
        Specified by:
        setServer in interface GwtDevOptions
        Parameters:
        server - The server option specified.
      • setStartupUrl

        public void setStartupUrl​(java.lang.String startupUrl)
        Sets the "-startupUrl" option.
        Specified by:
        setStartupUrl in interface GwtDevOptions
        Parameters:
        startupUrl - The startup Url specified.
      • setAutoPort

        public void setAutoPort​(java.lang.Boolean autoPort)
        Is set to true, this causes the "-port" to be automatically assigned using a free port.
        Specified by:
        setAutoPort in interface GwtDevOptions
        Parameters:
        autoPort - Whether to be automatically assigned using a free port for "-port" or not.
      • setAutoCodeServerPort

        public void setAutoCodeServerPort​(java.lang.Boolean autoCodeServerPort)
        Is set to true, this causes the "-codeServerPort" to be automatically assigned using a free port.
        Specified by:
        setAutoCodeServerPort in interface GwtDevOptions
        Parameters:
        autoCodeServerPort - Whether to be automatically assigned using a free port for "-codeServerPort" or not.
      • setSuperDevMode

        public void setSuperDevMode​(java.lang.Boolean superDevMode)
        Is set to true, this causes the "-superDevMode" (added in GWT 2.7) flag to be added.
        Specified by:
        setSuperDevMode in interface GwtDevOptions
        Parameters:
        superDevMode - Whether to add "-superDevMode" (added in GWT 2.7) flag or not.
      • setStartServer

        public void setStartServer​(java.lang.Boolean startServer)
        Is set to true, this causes the "-startServer" (added in GWT 2.7) flag to be added.
        Specified by:
        setStartServer in interface GwtDevOptions
        Parameters:
        startServer - Whether to add "-startServer" (added in GWT 2.7) flag or not.