Package org.nuxeo.runtime.model
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
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
During merge if a descriptor whose doesRemove() returns true is encountered, the merge chain is reset and started again on next descriptor.getId()
The descriptor id, descriptors with same id are merged.default Descriptor
merge
(Descriptor other) Returns a descriptor representingother
merged intothis
-
Field Details
-
UNIQUE_DESCRIPTOR_ID
- See Also:
-
-
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
Returns a descriptor representingother
merged intothis
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
.
-