public class PasswordParameterType extends StringParameterType
Constructor and Description |
---|
PasswordParameterType()
Create a new password parameter type, setting the max length
to 255 and nulls are allowed.
|
PasswordParameterType(Integer maxLength,
boolean notNull)
Create a new password parameter type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isMasked()
Should this parameter be masked in the GUI?
|
(package private) ParameterValueData<String> |
newParameterValueData()
Create a new
StringParameterValueData object. |
String |
toString() |
getMaxLength, validateValue
getDefaultValue, getEnumeration, getHeight, getItems, getMultiplicity, getNotNull, getParameterClass, getValueType, getWidth, isEnumeration, validate, validate
public PasswordParameterType()
public PasswordParameterType(Integer maxLength, boolean notNull)
maxLength
- The maximum length of the string that is allowed or null
to allow as long as possiblenotNull
- FALSE if nulls values are allowed, TRUE otherwisepublic String toString()
toString
in class StringParameterType
ParameterValueData<String> newParameterValueData()
StringParameterValueData
object.newParameterValueData
in class StringParameterType
public boolean isMasked()
ParameterType
isMasked
in class ParameterType<String>