Package com.morpheusdata.model
Class TemplateParameter
java.lang.Object
com.morpheusdata.model.TemplateParameter
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns a collection of options for the parameter.void
setDefaultValue
(String defaultValue) void
setDescription
(String description) void
setDisplayName
(String displayName) void
setInputType
(Boolean inputType) void
setMaxLength
(Integer maxLength) void
setMaxValue
(Integer maxValue) void
setMinLength
(Integer minLength) void
setMinValue
(Integer minValue) void
void
setOptions
(Collection<Map> options) void
setPasswordType
(Boolean passwordType) void
setRequired
(Boolean required) void
setSelectType
(Boolean selectType)
-
Field Details
-
name
-
displayName
-
inputType
-
selectType
-
passwordType
-
required
-
options
-
description
-
defaultValue
-
minLength
-
maxLength
-
minValue
-
maxValue
-
-
Constructor Details
-
TemplateParameter
public TemplateParameter()
-
-
Method Details
-
getName
-
getDisplayName
-
getInputType
-
getSelectType
-
getPasswordType
-
getRequired
-
getOptions
Returns a collection of options for the parameter. This is only applicable for type select, checkbox, and radio The format of the options is a collection of maps with the following keys: name - The label to display for the option value - The value to return for the option selected - Boolean value to indicate if the option is selected by default- Returns:
-
getDescription
-
getDefaultValue
-
getMinLength
-
getMaxLength
-
getMinValue
-
getMaxValue
-
setName
-
setDisplayName
-
setInputType
-
setSelectType
-
setPasswordType
-
setRequired
-
setOptions
-
setDescription
-
setDefaultValue
-
setMinLength
-
setMaxLength
-
setMinValue
-
setMaxValue
-