Interface Descriptor

All Known Implementing Classes:
AvroMapperDescriptor, AvroReplacementDescriptor, AvroSchemaDescriptor, AvroSchemaFactoryDescriptor, AWSConfigurationDescriptor, BatchHandlerDescriptor, BlobDispatcherDescriptor, BulkActionDescriptor, CacheDescriptor, CheckFileInfoUpdaterDescriptor, ClusterNodeDescriptor, CodecDescriptor, CodecDescriptor, ConfigurationPropertyDescriptor, CreationContainerListProviderDescriptor, DomainEventProducerDescriptor, DownloadPermissionDescriptor, ESHintQueryBuilderDescriptor, FileImporterDescriptor, FolderImporterDescriptor, KafkaConfigDescriptor, KeyValueStoreDescriptor, LogConfigDescriptor, LogConfigDescriptor.LogDescriptor, LogConfigDescriptor.LogMatchDescriptor, LoginAsDescriptor, MailSenderDescriptor, MarshallerDescriptor, MarshallerRegistryDescriptor, MetricsConfigurationDescriptor, MetricsConfigurationDescriptor.FilterDescriptor, MetricsConfigurationDescriptor.InstrumentDescriptor, MetricsReporterDescriptor, MigrationDescriptor, MigrationDescriptor.MigrationStateDescriptor, MigrationDescriptor.MigrationStepDescriptor, MongoDBConnectionConfig, OpenIDConnectProviderDescriptor, PropertyDescriptor, PubSubProviderDescriptor, RedirectResolverDescriptor, RestBinding, ScrollDescriptor, SerializerDescriptor, StreamProcessorDescriptor, StreamProcessorDescriptor.ComputationDescriptor, StreamProcessorDescriptor.FilterDescriptor, StreamProcessorDescriptor.PolicyDescriptor, StreamProcessorDescriptor.StreamDescriptor, TransientStoreConfig, UnicityExtension, WorkQueueDescriptor, WorkQueuingDescriptor

public interface Descriptor
Descriptors implementing this interface will automatically be registered within the default registry in DefaultComponent.
Since:
10.3
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    During merge if a descriptor whose doesRemove() returns true is encountered, the merge chain is reset and started again on next descriptor.
    The descriptor id, descriptors with same id are merged.
    default Descriptor
    Returns a descriptor representing other merged into this
  • Field Details

  • Method Details

    • getId

      String getId()
      The descriptor id, descriptors with same id are merged.

      To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.

      To forbid merge use a unique value, non-overriden toString() for exemple.

    • merge

      default Descriptor merge(Descriptor other)
      Returns a descriptor representing other merged into this

      Default implementation returns other.

      Returns:
      the merged descriptor
    • doesRemove

      default boolean doesRemove()
      During merge if a descriptor whose doesRemove() returns true is encountered, the merge chain is reset and started again on next descriptor.

      If the last descriptor of same id doesRemove() return true, the descriptor for this id will be null.