Package net.sf.basedb.core
Class ParameterInfo
java.lang.Object
net.sf.basedb.core.ParameterInfo
Get information about a plugin configuration or parameter. The information
include the label, description and values of the parameter.
- Version:
- 2.0
- Author:
- nicklas
- Last modified
- $Date: 2015-10-30 10:31:37 +0100 (fr, 30 okt 2015) $
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLabel()
List<?>
List<?>
Utility method for getting the values or a mask (*****) if theisMasked()
flag is set.List<?>
getValuesOrMask
(String mask) Utility method for getting the values or a mask if theisMasked()
flag is set.Get the matchingType
for the values stored in this parameter.boolean
isMasked()
Should this parameter be masked in the GUI?
-
Field Details
-
label
-
description
-
masked
private final boolean masked -
values
-
valueType
-
-
Constructor Details
-
ParameterInfo
ParameterInfo(DbControl dc, ParameterValueData<?> parameter)
-
-
Method Details
-
getLabel
-
getDescription
-
isMasked
public boolean isMasked()Should this parameter be masked in the GUI?- Since:
- 3.7
-
getValueType
Get the matchingType
for the values stored in this parameter. Can be null since not all parameter types have a matching value type.- Returns:
- A Type object or null
- Since:
- 2.16
-
getValues
-
getValuesOrMask
Utility method for getting the values or a mask (*****) if theisMasked()
flag is set.- Since:
- 3.7
-
getValuesOrMask
Utility method for getting the values or a mask if theisMasked()
flag is set.- Since:
- 3.7
-