Package org.esa.snap.core.gpf.descriptor
Interface SourceProductDescriptor
-
- All Superinterfaces:
DataElementDescriptor,ElementDescriptor
- All Known Implementing Classes:
AnnotationSourceProductDescriptor,DefaultSourceProductDescriptor,SimpleSourceProductDescriptor
public interface SourceProductDescriptor extends DataElementDescriptor
Source product element metadata.- Since:
- BEAM 5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]getBands()Class<? extends Product>getDataType()StringgetProductType()booleanisOptional()-
Methods inherited from interface org.esa.snap.core.gpf.descriptor.ElementDescriptor
getAlias, getDescription, getLabel, getName
-
-
-
-
Method Detail
-
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:
Pattern
-
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
Class<? extends Product> getDataType()
- Specified by:
getDataTypein interfaceDataElementDescriptor- Returns:
- The source product type.
Defaults to
Product.
-
-