public static interface Profile.ParameterValuesProvider
Modifier and Type | Method and Description |
---|---|
String |
getValueOrNullIfDefault(Profile.Parameter<?> parameter)
Returns the value set for the provided profile parameter.
|
default void |
postResolutionActions(Collection<String> resolvedParameterNames,
String profileName)
Performs actions once profile parameter values have been resolved.
|
String getValueOrNullIfDefault(Profile.Parameter<?> parameter)
This method will be called during the profile's parameters.groovy script execution
parameter
- The parameter from which the value should be resolvedString
representing the value set in command line arguments for the
provided profile Profile.Parameter
, or null
if parameter default value should be used.default void postResolutionActions(Collection<String> resolvedParameterNames, String profileName) throws com.forgerock.opendj.cli.ArgumentException
Default implementation is to do nothing.
resolvedParameterNames
- Names of the profile parameters whose values have been resolvedprofileName
- Description of the running profilecom.forgerock.opendj.cli.ArgumentException
- if some parameter is not acceptableCopyright 2010-2022 ForgeRock AS.