Class ParameterDescriptorFactory
java.lang.Object
org.esa.snap.core.gpf.annotations.ParameterDescriptorFactory
- All Implemented Interfaces:
PropertyDescriptorFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyDescriptorconvert(ParameterDescriptor parameterDescriptor, Map<String, Product> sourceProductMap) static PropertyContainercreateMapBackedOperatorPropertyContainer(String operatorName) static PropertyContainercreateMapBackedOperatorPropertyContainer(String operatorName, Map<String, Object> operatorParameters) static PropertyContainercreateMapBackedOperatorPropertyContainer(String operatorName, Map<String, Object> operatorParameters, Map<String, Product> sourceProductMap) createValueDescriptor(Field field) Creates a new property descriptor for the given field.
-
Constructor Details
-
ParameterDescriptorFactory
public ParameterDescriptorFactory() -
ParameterDescriptorFactory
-
-
Method Details
-
createMapBackedOperatorPropertyContainer
-
createMapBackedOperatorPropertyContainer
public static PropertyContainer createMapBackedOperatorPropertyContainer(String operatorName, Map<String, Object> operatorParameters) -
createMapBackedOperatorPropertyContainer
-
getSourceProductMap
-
convert
public static PropertyDescriptor convert(ParameterDescriptor parameterDescriptor, Map<String, Product> sourceProductMap) throws ConversionException- Throws:
ConversionException
-
createValueDescriptor
Description copied from interface:PropertyDescriptorFactoryCreates a new property descriptor for the given field.- Specified by:
createValueDescriptorin interfacePropertyDescriptorFactory- Parameters:
field- The field.- Returns:
- The property descriptor or
null, if it cannot be derived from the given field.
-