Package org.apache.nifi.configuration
Interface NonComponentConfigurationContext
- All Known Subinterfaces:
LoginIdentityProviderConfigurationContext
public interface NonComponentConfigurationContext
Shared interface for various feature-specific configuration contexts which allows common code to
handle property retrieval without awareness of the specific implementation.
Note: This interface is not used as the basis for component-specific configuration contexts (see ConfigurationContext
).
-
Method Summary
Modifier and TypeMethodDescriptionReturns all properties the configuration context contains regardless of whether a value has been set for them or not.getProperty
(String property) Returns the value of the provided property.
-
Method Details
-
getIdentifier
String getIdentifier()- Returns:
- identifier for the caller entity
-
getProperties
Returns all properties the configuration context contains regardless of whether a value has been set for them or not. If no value is present then its value isnull
.- Returns:
- Map of all properties
-
getProperty
Returns the value of the provided property. This method does not substitute default values, so the value returned will benull
if not set.- Parameters:
property
- the property to retrieve- Returns:
- the current property value (can be null)
-