Interface GwtJsInteropExportsOptions

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getExcludePatterns()  
      java.util.List<java.lang.String> getIncludePatterns()  
      void setExcludePatterns​(java.lang.String... excludePatterns)
      Sets the members and classes to exclude while generating JsInterop exports.
      void setGenerate​(boolean shouldGenerate)
      Sets the "-generateJsInteropExport" flag that enables the generation of JsInterop exports, disabled by default.
      void setIncludePatterns​(java.lang.String... includePatterns)
      Sets the members and classes to include while generating JsInterop exports.
      boolean shouldGenerate()  
    • Method Detail

      • shouldGenerate

        boolean shouldGenerate()
      • setGenerate

        void setGenerate​(boolean shouldGenerate)
        Sets the "-generateJsInteropExport" flag that enables the generation of JsInterop exports, disabled by default.
        Parameters:
        shouldGenerate - true if the "-generateJsInteropExport" flag should be set, false otherwise to set "-nogenerateJsInteropExports" flag
        Since:
        GWT 2.8.0
      • getIncludePatterns

        java.util.List<java.lang.String> getIncludePatterns()
      • setIncludePatterns

        void setIncludePatterns​(java.lang.String... includePatterns)
        Sets the members and classes to include while generating JsInterop exports. Has only effect if exporting is enabled.
        Parameters:
        includePatterns - the members and classes to include - adds multiple "-includeJsInteropExports com.foo.*" flags
        Since:
        GWT 2.8.1
      • getExcludePatterns

        java.util.List<java.lang.String> getExcludePatterns()
      • setExcludePatterns

        void setExcludePatterns​(java.lang.String... excludePatterns)
        Sets the members and classes to exclude while generating JsInterop exports. Has only effect if exporting is enabled and getIncludePatterns() is not empty.
        Parameters:
        excludePatterns - the members and classes to exclude - adds multiple "-excludeJsInteropExports com.foo.internal.*" flags
        Since:
        GWT 2.8.1