Package org.esa.snap.core.gpf.descriptor
Interface SourceProductDescriptor
- All Superinterfaces:
DataElementDescriptor,ElementDescriptor
- All Known Implementing Classes:
AnnotationSourceProductDescriptor,DefaultSourceProductDescriptor,SimpleSourceProductDescriptor
Source product element metadata.
- Since:
- BEAM 5
-
Method Summary
Methods inherited from interface org.esa.snap.core.gpf.descriptor.ElementDescriptor
getAlias, getDescription, getLabel, getName
-
Method Details
-
isOptional
boolean isOptional()- Returns:
trueif the source product is optional. Defaults tofalse.
-
getProductType
String getProductType()- Returns:
- The product type or a regular expression identifying the allowed product types, or
nullif not declared. - See Also:
-
getBands
String[] getBands()- Returns:
- The names of the bands which need to be present in the source product. Defaults to an empty array (= not set).
-
getDataType
- Specified by:
getDataTypein interfaceDataElementDescriptor- Returns:
- The source product type.
Defaults to
Product.
-