Interface GwtJsInteropExportsOptions

All Known Implementing Classes:
GwtJsInteropExportsOptionsImpl

public interface GwtJsInteropExportsOptions
Defines the options known by the AbstractGwtActionTask task.
  • Method Details

    • 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

      List<String> getIncludePatterns()
    • setIncludePatterns

      void setIncludePatterns(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

      List<String> getExcludePatterns()
    • setExcludePatterns

      void setExcludePatterns(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