public class AnnotationOperatorDescriptor extends Object implements OperatorDescriptor
OperatorDescriptor implementation for the OperatorMetadata annotation.| Constructor and Description |
|---|
AnnotationOperatorDescriptor(Class<? extends Operator> operatorType,
OperatorMetadata annotation) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlias() |
OperatorMetadata |
getAnnotation() |
String |
getAuthors() |
String |
getCopyright() |
String |
getDescription() |
String |
getLabel() |
String |
getName() |
Class<? extends Operator> |
getOperatorClass() |
ParameterDescriptor[] |
getParameterDescriptors() |
SourceProductDescriptor[] |
getSourceProductDescriptors() |
SourceProductsDescriptor |
getSourceProductsDescriptor() |
TargetProductDescriptor |
getTargetProductDescriptor() |
TargetPropertyDescriptor[] |
getTargetPropertyDescriptors() |
String |
getVersion() |
boolean |
isAutoWriteDisabled()
The GPF framework usually writes the target product of either single operators or processing graphs to the file
system when executed from the GPT command-line interface or the operator GUI.
|
boolean |
isInternal() |
public AnnotationOperatorDescriptor(Class<? extends Operator> operatorType, OperatorMetadata annotation)
public String getName()
getName in interface ElementDescriptorpublic OperatorMetadata getAnnotation()
public String getLabel()
getLabel in interface ElementDescriptornull if not declared.public String getAlias()
getAlias in interface ElementDescriptornull if not declared.public String getVersion()
getVersion in interface OperatorDescriptornull if not declared.public String getAuthors()
getAuthors in interface OperatorDescriptornull if not declared.public String getCopyright()
getCopyright in interface OperatorDescriptornull if not declared.public String getDescription()
getDescription in interface ElementDescriptornull if not declared.public boolean isInternal()
isInternal in interface OperatorDescriptortrue, this operator is considered for internal use only and thus
may not be exposed in user interfaces. The default is false.public boolean isAutoWriteDisabled()
OperatorDescriptor
If the autoWriteDisabled property is set, this default behaviour is switched off and hence,
the operator or graph is responsible for outputting any computed results.
Setting this property on an operator will only be useful, if it either does not generate a new target
Product and/or if it
does its own outputting of non-Product targets to external files.
isAutoWriteDisabled in interface OperatorDescriptortrue, the framework will prevent automatic writing of the target product to the file system.public Class<? extends Operator> getOperatorClass()
getOperatorClass in interface OperatorDescriptorpublic SourceProductDescriptor[] getSourceProductDescriptors()
getSourceProductDescriptors in interface OperatorDescriptorpublic SourceProductsDescriptor getSourceProductsDescriptor()
getSourceProductsDescriptor in interface OperatorDescriptornull if none is declared.public TargetProductDescriptor getTargetProductDescriptor()
getTargetProductDescriptor in interface OperatorDescriptornull if none is declared.public TargetPropertyDescriptor[] getTargetPropertyDescriptors()
getTargetPropertyDescriptors in interface OperatorDescriptorpublic ParameterDescriptor[] getParameterDescriptors()
getParameterDescriptors in interface OperatorDescriptorCopyright © 2014–2017 European Space Agency (ESA). All rights reserved.