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 GwtJsInteropExportsOptions
public void setGenerate(boolean shouldGenerate)
GwtJsInteropExportsOptions
setGenerate
in interface GwtJsInteropExportsOptions
shouldGenerate
- true
if the "-generateJsInteropExport"
flag should be set, false
otherwise to
set "-nogenerateJsInteropExports" flagpublic java.util.List<java.lang.String> getIncludePatterns()
getIncludePatterns
in interface GwtJsInteropExportsOptions
public void setIncludePatterns(java.lang.String... includePatterns)
GwtJsInteropExportsOptions
setIncludePatterns
in interface GwtJsInteropExportsOptions
includePatterns
- the members and classes to include - adds
multiple "-includeJsInteropExports com.foo.*" flagspublic java.util.List<java.lang.String> getExcludePatterns()
getExcludePatterns
in interface GwtJsInteropExportsOptions
public void setExcludePatterns(java.lang.String... excludePatterns)
GwtJsInteropExportsOptions
setExcludePatterns
in interface GwtJsInteropExportsOptions
excludePatterns
- the members and classes to exclude - adds
multiple "-excludeJsInteropExports com.foo.internal.*" flags