Package io.bdeploy.api.product.v1
Class ProductVersionDescriptor
java.lang.Object
io.bdeploy.api.product.v1.ProductVersionDescriptor
@JsonClassDescription("A typically generated information describing the \'current build\' of a product version.")
public class ProductVersionDescriptor
extends Object
Contains potentially dynamic information relevant when creating a product
-
Field Summary
FieldsModifier and TypeFieldDescriptionA mapping of application names (defined inProductDescriptor.applications) toOsHelper.OperatingSystemspecific relative paths to app-info.yaml files.A map of additional labels to add to the product manifest once generated.The "version" of the product. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
version
@JsonPropertyDescription("The \'version\' of the product. This version is used for the product and all included applications. The format is product specific, although diversion from standard semantic versioning format may require contributing plugins with custom sorting logic.") public String version -
appInfo
@JsonPropertyDescription("Mapping of application IDs as used in \'product-info.yaml\' to paths to directories per supported operating system. Multiple operating systems may point to the same path. The path may point to the directory where the \'app-info.yaml\' file is located, or to the \'app-info.yaml\' file directly.") public Map<String,Map<OsHelper.OperatingSystem, appInfoString>> A mapping of application names (defined inProductDescriptor.applications) toOsHelper.OperatingSystemspecific relative paths to app-info.yaml files. It is assumed that the app-info.yaml file is located in the root directory of the actual application build, so that the app-info.yaml's parent directory is regarded as application directory to import into the product. -
labels
@JsonPropertyDescription("Additional meta-information to associate with the product. This information is shown to the user in the Web UI, and has no other use.") public Map<String,String> labelsA map of additional labels to add to the product manifest once generated.- See Also:
-
-
Constructor Details
-
ProductVersionDescriptor
public ProductVersionDescriptor()
-