Class ADLSCredentialsControllerServiceLookup
java.lang.Object
org.apache.nifi.components.AbstractConfigurableComponent
org.apache.nifi.controller.AbstractControllerService
org.apache.nifi.service.lookup.AbstractSingleAttributeBasedControllerServiceLookup<ADLSCredentialsService>
org.apache.nifi.services.azure.storage.ADLSCredentialsControllerServiceLookup
- All Implemented Interfaces:
org.apache.nifi.components.ConfigurableComponent,org.apache.nifi.controller.ControllerService,ADLSCredentialsService
@Tags({"azure","microsoft","cloud","storage","adls","credentials"})
@CapabilityDescription("Provides an ADLSCredentialsService that can be used to dynamically select another ADLSCredentialsService. This service requires an attribute named \'adls.credentials.name\' to be passed in, and will throw an exception if the attribute is missing. The value of \'adls.credentials.name\' will be used to select the ADLSCredentialsService that has been registered with that name. This will allow multiple ADLSCredentialsServices to be defined and registered, and then selected dynamically at runtime by tagging flow files with the appropriate \'adls.credentials.name\' attribute.")
@DynamicProperty(name="The name to register ADLSCredentialsService",
value="The ADLSCredentialsService",
description="If \'adls.credentials.name\' attribute contains the name of the dynamic property, then the ADLSCredentialsService (registered in the value) will be selected.",
expressionLanguageScope=NONE)
public class ADLSCredentialsControllerServiceLookup
extends AbstractSingleAttributeBasedControllerServiceLookup<ADLSCredentialsService>
implements ADLSCredentialsService
-
Field Summary
FieldsFields inherited from class org.apache.nifi.service.lookup.AbstractSingleAttributeBasedControllerServiceLookup
serviceMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCredentialsDetails(Map<String, String> attributes) protected StringMethods inherited from class org.apache.nifi.service.lookup.AbstractSingleAttributeBasedControllerServiceLookup
customValidate, getServiceName, getSupportedDynamicPropertyDescriptor, lookupKeyPropertyDescriptor, lookupService, onDisabled, onEnabledMethods 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
equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedPropertyDescriptors, 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, migrateProperties
-
Field Details
-
ADLS_CREDENTIALS_NAME_ATTRIBUTE
- See Also:
-
-
Constructor Details
-
ADLSCredentialsControllerServiceLookup
public ADLSCredentialsControllerServiceLookup()
-
-
Method Details
-
getLookupAttribute
- Specified by:
getLookupAttributein classAbstractSingleAttributeBasedControllerServiceLookup<ADLSCredentialsService>
-
getServiceType
- Specified by:
getServiceTypein classAbstractSingleAttributeBasedControllerServiceLookup<ADLSCredentialsService>
-
getCredentialsDetails
- Specified by:
getCredentialsDetailsin interfaceADLSCredentialsService
-