Package org.docstr.gradle.plugins.gwt
Interface GwtJsInteropExportsOptions
-
- All Known Implementing Classes:
GwtJsInteropExportsOptionsImpl
public interface GwtJsInteropExportsOptionsDefines the options known by theAbstractGwtActionTasktask.
-
-
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()voidsetExcludePatterns(java.lang.String... excludePatterns)Sets the members and classes to exclude while generating JsInterop exports.voidsetGenerate(boolean shouldGenerate)Sets the "-generateJsInteropExport" flag that enables the generation of JsInterop exports, disabled by default.voidsetIncludePatterns(java.lang.String... includePatterns)Sets the members and classes to include while generating JsInterop exports.booleanshouldGenerate()
-
-
-
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-trueif the "-generateJsInteropExport" flag should be set,falseotherwise 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
-
-