Package org.esa.snap.core.gpf.descriptor
Interface SourceProductsDescriptor
-
- All Superinterfaces:
DataElementDescriptor
,ElementDescriptor
- All Known Implementing Classes:
AnnotationSourceProductsDescriptor
,DefaultSourceProductsDescriptor
public interface SourceProductsDescriptor extends DataElementDescriptor
Source products element metadata.- Since:
- BEAM 5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]
getBands()
int
getCount()
Class<? extends Product[]>
getDataType()
String
getProductType()
-
Methods inherited from interface org.esa.snap.core.gpf.descriptor.ElementDescriptor
getAlias, getDescription, getLabel, getName
-
-
-
-
Method Detail
-
getCount
int getCount()
- Returns:
- the number of source products expected.
The value
-1
means any number but at least one source product. Defaults to0
(= not set).
-
getProductType
String getProductType()
- Returns:
- The product type or a regular expression identifying the allowed product types. Defaults to the empty string (= not set).
- 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:
getDataType
in interfaceDataElementDescriptor
- Returns:
- The source product type.
Defaults to
Product
[].
-
-