public class GwtJsInteropExportsOptionsImpl extends java.lang.Object implements GwtJsInteropExportsOptions, java.io.Serializable
| Constructor and Description |
|---|
GwtJsInteropExportsOptionsImpl() |
| Modifier and Type | Method and 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() |
public boolean shouldGenerate()
shouldGenerate in interface GwtJsInteropExportsOptionspublic void setGenerate(boolean shouldGenerate)
GwtJsInteropExportsOptionssetGenerate in interface GwtJsInteropExportsOptionsshouldGenerate - true if the "-generateJsInteropExport"
flag should be set, false otherwise to
set "-nogenerateJsInteropExports" flagpublic java.util.List<java.lang.String> getIncludePatterns()
getIncludePatterns in interface GwtJsInteropExportsOptionspublic void setIncludePatterns(java.lang.String... includePatterns)
GwtJsInteropExportsOptionssetIncludePatterns in interface GwtJsInteropExportsOptionsincludePatterns - the members and classes to include - adds
multiple "-includeJsInteropExports com.foo.*" flagspublic java.util.List<java.lang.String> getExcludePatterns()
getExcludePatterns in interface GwtJsInteropExportsOptionspublic void setExcludePatterns(java.lang.String... excludePatterns)
GwtJsInteropExportsOptionssetExcludePatterns in interface GwtJsInteropExportsOptionsexcludePatterns - the members and classes to exclude - adds
multiple "-excludeJsInteropExports com.foo.internal.*" flags