DSL Extensions for KarafFeaturesGenTask
| Type | Name and description |
|---|---|
BundleStrategy |
bundleStrategyThe strategy for handling bundle definitions. |
org.gradle.api.NamedDomainObjectContainer<FeatureDescriptor> |
featuresUser configuration of any <feature/> generations to occur. |
java.lang.Object |
featuresNameName used for the {@code |
java.io.File |
featuresXmlFileThe output file |
java.lang.String |
featuresXsdVersionVersion of the xsd for target feature.xml file. |
java.util.Set<java.lang.String> |
repositoriesDefine any <repository/> entries to be added to the features file. |
| Constructor and description |
|---|
KarafFeaturesTaskExtension
(org.gradle.api.Project project) |
| Type | Name and description |
|---|---|
java.lang.Object |
features(groovy.lang.Closure closure) |
org.gradle.api.logging.Logger |
getLogger() |
boolean |
isPreferObrBundles() |
void |
setPreferObrBundles(boolean preferObrBundles) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The strategy for handling bundle definitions.
User configuration of any <feature/> generations to occur.
Name used for the <features name="?"/> attribute. Default is to use the
name of the project to which the plugin is attached.
The output file
Version of the xsd for target feature.xml file. Default is "1.2.0" From version 1.3.0 dependency feature attribute is supported
Define any <repository/> entries to be added to the features file.
Groovy Documentation