Package com.morpheusdata.model
Class TemplateParameter
java.lang.Object
com.morpheusdata.model.TemplateParameter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns a collection of options for the parameter.voidsetDefaultValue(String defaultValue) voidsetDescription(String description) voidsetDisplayName(String displayName) voidsetInputType(Boolean inputType) voidsetMaxLength(Integer maxLength) voidsetMaxValue(Integer maxValue) voidsetMinLength(Integer minLength) voidsetMinValue(Integer minValue) voidvoidsetOptions(Collection<Map> options) voidsetPasswordType(Boolean passwordType) voidsetRequired(Boolean required) voidsetSelectType(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
-