Package io.bdeploy.gradle.extensions
Class BDeployProductExtension
- java.lang.Object
-
- io.bdeploy.gradle.extensions.BDeployProductExtension
-
public class BDeployProductExtension extends java.lang.ObjectDefines a 'product'. Specifies version, path to 'product-info.yaml', all applications and all labels.
-
-
Constructor Summary
Constructors Constructor Description BDeployProductExtension(org.gradle.api.model.ObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gradle.api.NamedDomainObjectContainer<ApplicationExtension>getApplications()org.gradle.api.provider.MapProperty<java.lang.String,java.lang.String>getLabels()org.gradle.api.file.RegularFilePropertygetProductInfo()org.gradle.api.provider.Property<java.lang.String>getVersion()
-
-
-
Method Detail
-
getProductInfo
public org.gradle.api.file.RegularFileProperty getProductInfo()
- Returns:
- the path to the 'product-info.yaml'.
-
getVersion
public org.gradle.api.provider.Property<java.lang.String> getVersion()
- Returns:
- the version of the product. If not given, the project version is used.
-
getApplications
public org.gradle.api.NamedDomainObjectContainer<ApplicationExtension> getApplications()
- Returns:
- the applications to be packaged with the product.
-
getLabels
public org.gradle.api.provider.MapProperty<java.lang.String,java.lang.String> getLabels()
- Returns:
- the labels of the product, can contain arbitrary metadata.
-
-