Class ADLSCredentialsControllerService
java.lang.Object
org.apache.nifi.components.AbstractConfigurableComponent
org.apache.nifi.controller.AbstractControllerService
org.apache.nifi.services.azure.storage.ADLSCredentialsControllerService
- All Implemented Interfaces:
org.apache.nifi.components.ConfigurableComponent,org.apache.nifi.controller.ControllerService,ADLSCredentialsService
@Tags({"azure","microsoft","cloud","storage","adls","credentials"})
@CapabilityDescription("Defines credentials for ADLS processors.")
public class ADLSCredentialsControllerService
extends org.apache.nifi.controller.AbstractControllerService
implements ADLSCredentialsService
Provides credentials details for ADLS
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.nifi.components.PropertyDescriptorstatic final org.apache.nifi.components.PropertyDescriptorprivate org.apache.nifi.controller.ConfigurationContextstatic final org.apache.nifi.components.PropertyDescriptorprivate static final List<org.apache.nifi.components.PropertyDescriptor> static final org.apache.nifi.components.PropertyDescriptorstatic final org.apache.nifi.components.PropertyDescriptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCredentialsDetails(Map<String, String> attributes) protected List<org.apache.nifi.components.PropertyDescriptor> voidmigrateProperties(org.apache.nifi.migration.PropertyConfiguration config) voidonEnabled(org.apache.nifi.controller.ConfigurationContext context) private <T> voidsetValue(ADLSCredentialsDetails.Builder credentialsBuilder, org.apache.nifi.components.PropertyDescriptor propertyDescriptor, Function<org.apache.nifi.components.PropertyValue, T> getPropertyValue, BiConsumer<ADLSCredentialsDetails.Builder, T> setBuilderValue, Map<String, String> attributes) Methods inherited from class org.apache.nifi.controller.AbstractControllerService
abstractClearConfigContext, abstractStoreConfigContext, disabled, enabled, getConfigurationContext, getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, getProperty, getStateManager, init, initialize, isEnabledMethods inherited from class org.apache.nifi.components.AbstractConfigurableComponent
customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, toString, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.nifi.components.ConfigurableComponent
getIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateMethods inherited from interface org.apache.nifi.controller.ControllerService
initialize, isStateful
-
Field Details
-
ACCOUNT_NAME
public static final org.apache.nifi.components.PropertyDescriptor ACCOUNT_NAME -
ACCOUNT_KEY
public static final org.apache.nifi.components.PropertyDescriptor ACCOUNT_KEY -
SAS_TOKEN
public static final org.apache.nifi.components.PropertyDescriptor SAS_TOKEN -
ENDPOINT_SUFFIX
public static final org.apache.nifi.components.PropertyDescriptor ENDPOINT_SUFFIX -
PROXY_CONFIGURATION_SERVICE
public static final org.apache.nifi.components.PropertyDescriptor PROXY_CONFIGURATION_SERVICE -
PROPERTIES
-
context
private org.apache.nifi.controller.ConfigurationContext context
-
-
Constructor Details
-
ADLSCredentialsControllerService
public ADLSCredentialsControllerService()
-
-
Method Details
-
getSupportedPropertyDescriptors
- Overrides:
getSupportedPropertyDescriptorsin classorg.apache.nifi.components.AbstractConfigurableComponent
-
migrateProperties
public void migrateProperties(org.apache.nifi.migration.PropertyConfiguration config) - Specified by:
migratePropertiesin interfaceorg.apache.nifi.controller.ControllerService
-
onEnabled
@OnEnabled public void onEnabled(org.apache.nifi.controller.ConfigurationContext context) -
getCredentialsDetails
- Specified by:
getCredentialsDetailsin interfaceADLSCredentialsService
-
setValue
private <T> void setValue(ADLSCredentialsDetails.Builder credentialsBuilder, org.apache.nifi.components.PropertyDescriptor propertyDescriptor, Function<org.apache.nifi.components.PropertyValue, T> getPropertyValue, BiConsumer<ADLSCredentialsDetails.Builder, T> setBuilderValue, Map<String, String> attributes)
-