Class ProvidedProperty
java.lang.Object
org.forgerock.openidm.tools.scriptedbundler.CustomBaseObject
org.forgerock.openidm.tools.scriptedbundler.ProvidedProperty
A single connector configuration property, contained in
CustomConfiguration.
The JSON configuration might contain something like the following:
"providedProperties" : [
{
"name" : "FirstProperty",
"value" : "firstValue",
"type" : "String"
}, {
"name" : "SecondProperty",
"value" : 1.234,
"type" : "Float"
}
]
This object represents a single property in the list above. These properties populate values for the properties
defined by default in the connector's base configuration class. For example, the ScriptedSQLConfiguration class
provides for a "name" property and a "password" property (among others). To preset these values or even set a
default in the connector's provisioner config a developer would add providedProperties for name and password.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionHelper method for handlebars template, not a configuration parameter.getName()Return the name of this property.Template utility method to lower-case the first character of the name attribute.getType()Return the type of this property.getValue()Return the default value of this property.voidSet the name of this property.voidSet the type of this property.voidSet the default value of this property.Methods inherited from class org.forgerock.openidm.tools.scriptedbundler.CustomBaseObject
flagLast, getIsLast, setIsLast
-
Constructor Details
-
ProvidedProperty
public ProvidedProperty()
-
-
Method Details
-
getName
Return the name of this property.- Returns:
-
getNameCamelCase
Template utility method to lower-case the first character of the name attribute.- Returns:
-
setName
Set the name of this property.- Parameters:
name-
-
getValue
Return the default value of this property.- Returns:
-
setValue
Set the default value of this property.- Parameters:
value-
-
getFormattedValue
Helper method for handlebars template, not a configuration parameter.- Returns:
-
getType
Return the type of this property. Enhanced getter to enforce supported types- Returns:
-
setType
Set the type of this property. Enhanced setter to enforce supported types- Parameters:
type-
-