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()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
public boolean shouldGenerate()
- Specified by:
shouldGeneratein interfaceGwtJsInteropExportsOptions
-
setGenerate
public void setGenerate(boolean shouldGenerate)
Description copied from interface:GwtJsInteropExportsOptionsSets the "-generateJsInteropExport" flag that enables the generation of JsInterop exports, disabled by default.- Specified by:
setGeneratein interfaceGwtJsInteropExportsOptions- Parameters:
shouldGenerate-trueif the "-generateJsInteropExport" flag should be set,falseotherwise to set "-nogenerateJsInteropExports" flag
-
getIncludePatterns
public java.util.List<java.lang.String> getIncludePatterns()
- Specified by:
getIncludePatternsin interfaceGwtJsInteropExportsOptions
-
setIncludePatterns
public void setIncludePatterns(java.lang.String... includePatterns)
Description copied from interface:GwtJsInteropExportsOptionsSets the members and classes to include while generating JsInterop exports. Has only effect if exporting is enabled.- Specified by:
setIncludePatternsin 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:
getExcludePatternsin interfaceGwtJsInteropExportsOptions
-
setExcludePatterns
public void setExcludePatterns(java.lang.String... excludePatterns)
Description copied from interface:GwtJsInteropExportsOptionsSets 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:
setExcludePatternsin interfaceGwtJsInteropExportsOptions- Parameters:
excludePatterns- the members and classes to exclude - adds multiple "-excludeJsInteropExports com.foo.internal.*" flags
-
-