Class ProductDescriptionsAction.ProductMetadataEntry
java.lang.Object
ecmwf.ecpds.master.plugin.http.controller.admin.ProductDescriptionsAction.ProductMetadataEntry
- Enclosing class:
ProductDescriptionsAction
Simple JavaBean wrapper around a
ProductMetadata entry, plus a "known" flag, exposed to the JSP as
${entry.product}/${entry.type}/${entry.description}/${entry.tips} (rather than
iterating a raw Map with entry.key/entry.value, which is not reliably resolved by this
application's EL setup).- Since:
- 2026-09-10
- Version:
- 6.7.7
- Author:
- Laurent Gougeon - syi@ecmwf.int, ECMWF.
-
Constructor Summary
ConstructorsConstructorDescriptionProductMetadataEntry(String product, String type, String description, String tips, boolean known, boolean groupTimes) Instantiates a new product metadata entry. -
Method Summary
Modifier and TypeMethodDescriptionGets the description.Gets the product.getTips()Gets the tips.getType()Gets the type.booleanChecks if is generic (applies to all types of the product).booleanChecks whether all cycles/times of this product are grouped into a single monitoring page.booleanisKnown()Checks if is known.
-
Constructor Details
-
ProductMetadataEntry
public ProductMetadataEntry(String product, String type, String description, String tips, boolean known, boolean groupTimes) Instantiates a new product metadata entry.- Parameters:
product- the producttype- the typedescription- the descriptiontips- the tipsknown- whether the product currently exists in the monitoring interfacegroupTimes- whether all cycles/times of this product are grouped into a single monitoring page
-
-
Method Details
-
getProduct
-
getType
-
isGeneric
public boolean isGeneric()Checks if is generic (applies to all types of the product).- Returns:
- true, if is generic
-
getDescription
-
getTips
-
isKnown
public boolean isKnown()Checks if is known.- Returns:
- true, if the product currently exists in the monitoring interface
-
isGroupTimes
public boolean isGroupTimes()Checks whether all cycles/times of this product are grouped into a single monitoring page.- Returns:
- true, if all cycles/times are grouped into one page
-