Class GwtJsInteropExportsOptionsImpl
- java.lang.Object
-
- org.docstr.gradle.plugins.gwt.internal.GwtJsInteropExportsOptionsImpl
-
- All Implemented Interfaces:
java.io.Serializable
,GwtJsInteropExportsOptions
public class GwtJsInteropExportsOptionsImpl extends java.lang.Object implements GwtJsInteropExportsOptions, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GwtJsInteropExportsOptionsImpl()
-
Method Summary
All Methods Instance Methods Concrete 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
public boolean shouldGenerate()
- Specified by:
shouldGenerate
in interfaceGwtJsInteropExportsOptions
-
setGenerate
public void setGenerate(boolean shouldGenerate)
Description copied from interface:GwtJsInteropExportsOptions
Sets the "-generateJsInteropExport" flag that enables the generation of JsInterop exports, disabled by default.- Specified by:
setGenerate
in interfaceGwtJsInteropExportsOptions
- Parameters:
shouldGenerate
-true
if the "-generateJsInteropExport" flag should be set,false
otherwise to set "-nogenerateJsInteropExports" flag
-
getIncludePatterns
public java.util.List<java.lang.String> getIncludePatterns()
- Specified by:
getIncludePatterns
in interfaceGwtJsInteropExportsOptions
-
setIncludePatterns
public void setIncludePatterns(java.lang.String... includePatterns)
Description copied from interface:GwtJsInteropExportsOptions
Sets the members and classes to include while generating JsInterop exports. Has only effect if exporting is enabled.- Specified by:
setIncludePatterns
in interfaceGwtJsInteropExportsOptions
- Parameters:
includePatterns
- the members and classes to include - adds multiple "-includeJsInteropExports com.foo.*" flags
-
getExcludePatterns
public java.util.List<java.lang.String> getExcludePatterns()
- Specified by:
getExcludePatterns
in interfaceGwtJsInteropExportsOptions
-
setExcludePatterns
public void setExcludePatterns(java.lang.String... excludePatterns)
Description copied from interface:GwtJsInteropExportsOptions
Sets the members and classes to exclude while generating JsInterop exports. Has only effect if exporting is enabled and GwtJsInteropExportsOptions.getIncludePatterns() is not empty.- Specified by:
setExcludePatterns
in interfaceGwtJsInteropExportsOptions
- Parameters:
excludePatterns
- the members and classes to exclude - adds multiple "-excludeJsInteropExports com.foo.internal.*" flags
-
-