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 CustomParameterClass
Represents a template file that is supposed to be executed after the actual tool executionstatic final CustomParameterClass
Represents a template file that is supposed to be executed before the actual tool executionstatic final CustomParameterClass
Represents a boolean parameterstatic final CustomParameterClass
Represents a file list parameterstatic final CustomParameterClass
Represents a float parameterstatic final CustomParameterClass
Represents a folder parameterstatic final CustomParameterClass
Represents an integer parameterstatic final CustomParameterClass
Represents a string list parameterstatic final CustomParameterClass
Represents a file parameterstatic final CustomParameterClass
Represents a string/text parameterstatic final CustomParameterClass
Represents a the template file of the actual tool execution -
Method Summary
Modifier and TypeMethodDescriptionstatic CustomParameterClass
Returns the CustomParameterClass instance matching the given type maskClass
<?> Returns the type mask of the parameterboolean
Checks if the parameter is a regular parameterboolean
Checks if the parameter is a template-after parameterboolean
Checks if the parameter is a template-before parameterboolean
Checks 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
-