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:
  • AbstractControllerService
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.nifi.components.PropertyDescriptor
     
    static final org.apache.nifi.components.PropertyDescriptor
     
    private org.apache.nifi.controller.ConfigurationContext
     
    static final org.apache.nifi.components.PropertyDescriptor
     
    private static final List<org.apache.nifi.components.PropertyDescriptor>
     
    static final org.apache.nifi.components.PropertyDescriptor
     
    static final org.apache.nifi.components.PropertyDescriptor
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    protected List<org.apache.nifi.components.PropertyDescriptor>
     
    void
    migrateProperties(org.apache.nifi.migration.PropertyConfiguration config)
     
    void
    onEnabled(org.apache.nifi.controller.ConfigurationContext context)
     
    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)
     

    Methods inherited from class org.apache.nifi.controller.AbstractControllerService

    abstractClearConfigContext, abstractStoreConfigContext, disabled, enabled, getConfigurationContext, getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, getProperty, getStateManager, init, initialize, isEnabled

    Methods inherited from class org.apache.nifi.components.AbstractConfigurableComponent

    customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, toString, validate

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.nifi.components.ConfigurableComponent

    getIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validate

    Methods 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

      private static final List<org.apache.nifi.components.PropertyDescriptor> PROPERTIES
    • context

      private org.apache.nifi.controller.ConfigurationContext context
  • Constructor Details

    • ADLSCredentialsControllerService

      public ADLSCredentialsControllerService()
  • Method Details

    • getSupportedPropertyDescriptors

      protected List<org.apache.nifi.components.PropertyDescriptor> getSupportedPropertyDescriptors()
      Overrides:
      getSupportedPropertyDescriptors in class org.apache.nifi.components.AbstractConfigurableComponent
    • migrateProperties

      public void migrateProperties(org.apache.nifi.migration.PropertyConfiguration config)
      Specified by:
      migrateProperties in interface org.apache.nifi.controller.ControllerService
    • onEnabled

      @OnEnabled public void onEnabled(org.apache.nifi.controller.ConfigurationContext context)
    • getCredentialsDetails

      public ADLSCredentialsDetails getCredentialsDetails(Map<String,String> attributes)
      Specified by:
      getCredentialsDetails in interface ADLSCredentialsService
    • 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)