Class CustomParameterClass
java.lang.Object
org.esa.snap.ui.tooladapter.model.CustomParameterClass
Enum-like class holding the possible types of operator parameters
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CustomParameterClassRepresents a template file that is supposed to be executed after the actual tool executionstatic final CustomParameterClassRepresents a template file that is supposed to be executed before the actual tool executionstatic final CustomParameterClassRepresents a boolean parameterstatic final CustomParameterClassRepresents a file list parameterstatic final CustomParameterClassRepresents a float parameterstatic final CustomParameterClassRepresents a folder parameterstatic final CustomParameterClassRepresents an integer parameterstatic final CustomParameterClassRepresents a string list parameterstatic final CustomParameterClassRepresents a file parameterstatic final CustomParameterClassRepresents a string/text parameterstatic final CustomParameterClassRepresents a the template file of the actual tool execution -
Method Summary
Modifier and TypeMethodDescriptionstatic CustomParameterClassReturns the CustomParameterClass instance matching the given type maskClass<?> Returns the type mask of the parameterbooleanChecks if the parameter is a regular parameterbooleanChecks if the parameter is a template-after parameterbooleanChecks if the parameter is a template-before parameterbooleanChecks if the parameter is a template parameter
-
Field Details
-
BeforeTemplateFileClass
Represents a template file that is supposed to be executed before the actual tool execution -
AfterTemplateFileClass
Represents a template file that is supposed to be executed after the actual tool execution -
TemplateFileClass
Represents a the template file of the actual tool execution -
RegularFileClass
Represents a file parameter -
FolderClass
Represents a folder parameter -
FileListClass
Represents a file list parameter -
StringClass
Represents a string/text parameter -
IntegerClass
Represents an integer parameter -
ListClass
Represents a string list parameter -
BooleanClass
Represents a boolean parameter -
FloatClass
Represents a float parameter
-
-
Method Details
-
getParameterClass
- Returns:
- The Java class of the parameter
-
isTemplateParameter
public boolean isTemplateParameter()Checks if the parameter is a template parameter -
isTemplateBefore
public boolean isTemplateBefore()Checks if the parameter is a template-before parameter -
isTemplateAfter
public boolean isTemplateAfter()Checks if the parameter is a template-after parameter -
isParameter
public boolean isParameter()Checks if the parameter is a regular parameter -
getTypeMask
Returns the type mask of the parameter -
getObject
Returns the CustomParameterClass instance matching the given type mask
-