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 ElementDescriptor
public OperatorMetadata getAnnotation()
public String getLabel()
getLabel
in interface ElementDescriptor
null
if not declared.public String getAlias()
getAlias
in interface ElementDescriptor
null
if not declared.public String getVersion()
getVersion
in interface OperatorDescriptor
null
if not declared.public String getAuthors()
getAuthors
in interface OperatorDescriptor
null
if not declared.public String getCopyright()
getCopyright
in interface OperatorDescriptor
null
if not declared.public String getDescription()
getDescription
in interface ElementDescriptor
null
if not declared.public boolean isInternal()
isInternal
in interface OperatorDescriptor
true
, 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 OperatorDescriptor
true
, the framework will prevent automatic writing of the target product to the file system.public Class<? extends Operator> getOperatorClass()
getOperatorClass
in interface OperatorDescriptor
public SourceProductDescriptor[] getSourceProductDescriptors()
getSourceProductDescriptors
in interface OperatorDescriptor
public SourceProductsDescriptor getSourceProductsDescriptor()
getSourceProductsDescriptor
in interface OperatorDescriptor
null
if none is declared.public TargetProductDescriptor getTargetProductDescriptor()
getTargetProductDescriptor
in interface OperatorDescriptor
null
if none is declared.public TargetPropertyDescriptor[] getTargetPropertyDescriptors()
getTargetPropertyDescriptors
in interface OperatorDescriptor
public ParameterDescriptor[] getParameterDescriptors()
getParameterDescriptors
in interface OperatorDescriptor
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.