Package org.apache.nifi.parameter
Class ParameterGroupConfiguration
java.lang.Object
org.apache.nifi.parameter.ParameterGroupConfiguration
- All Implemented Interfaces:
Comparable<ParameterGroupConfiguration>
public class ParameterGroupConfiguration
extends Object
implements Comparable<ParameterGroupConfiguration>
User-provided configuration for a group of parameters fetched from a ParameterProvider.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionParameterGroupConfiguration
(String groupName, String parameterContextName, Map<String, ParameterSensitivity> parameterSensitivities, Boolean isSynchronized) Creates a named group of parameter names. -
Method Summary
Modifier and TypeMethodDescriptionint
-
Field Details
-
groupName
-
parameterContextName
-
parameterSensitivities
-
isSynchronized
-
-
Constructor Details
-
ParameterGroupConfiguration
public ParameterGroupConfiguration(String groupName, String parameterContextName, Map<String, ParameterSensitivity> parameterSensitivities, Boolean isSynchronized) Creates a named group of parameter names.- Parameters:
groupName
- The parameter group nameparameterContextName
- The parameter context name to which parameters will be appliedparameterSensitivities
- A map from parameter name to desired sensitivity. Any parameter not included in this map will not be included when applied to the parameter context.isSynchronized
- If true, indicates that a ParameterContext should be created if not already existing, or updated if existing
-
-
Method Details
-
getGroupName
- Returns:
- The external parameter group name
-
getParameterContextName
- Returns:
- The name of the ParameterContext that maps to this group
-
getParameterSensitivities
- Returns:
- A map from parameter name to desired sensitivity. If the sensitivity is null, this indicates that the parameter has not yet been configured by the user.
-
isSynchronized
- Returns:
- True if this group should be synchronized with a parameter context. If null, this indicates that it has not yet been configured by the user.
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ParameterGroupConfiguration>
-