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,MarshallerDescriptor,MarshallerRegistryDescriptor,MetricsConfigurationDescriptor,MetricsConfigurationDescriptor.FilterDescriptor,MetricsConfigurationDescriptor.InstrumentDescriptor,MetricsReporterDescriptor,MigrationDescriptor,MigrationDescriptor.MigrationStateDescriptor,MigrationDescriptor.MigrationStepDescriptor,MongoDBConnectionConfig,OpenIDConnectProviderDescriptor,PropertyDescriptor,PubSubProviderDescriptor,RedirectResolverDescriptor,RedisPoolDescriptor,RedisSentinelDescriptor,RedisSentinelDescriptor.RedisHostDescriptor,RedisServerDescriptor,RestBinding,ScrollDescriptor,SerializerDescriptor,StreamProcessorDescriptor,StreamProcessorDescriptor.ComputationDescriptor,StreamProcessorDescriptor.FilterDescriptor,StreamProcessorDescriptor.PolicyDescriptor,StreamProcessorDescriptor.StreamDescriptor,TransientStoreConfig,UnicityExtension,VersioningDescriptor,WorkQueueDescriptor,WorkQueuingDescriptor
public interface DescriptorDescriptors implementing this interface will automatically be registered within the default registry inDefaultComponent.- Since:
- 10.3
-
-
Field Summary
Fields Modifier and Type Field Description static StringUNIQUE_DESCRIPTOR_ID
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleandoesRemove()During merge if a descriptor whose doesRemove() returns true is encountered, the merge chain is reset and started again on next descriptor.StringgetId()The descriptor id, descriptors with same id are merged.default Descriptormerge(Descriptor other)Returns a descriptor representingothermerged intothis
-
-
-
Field Detail
-
UNIQUE_DESCRIPTOR_ID
static final String UNIQUE_DESCRIPTOR_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
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 representingothermerged intothisDefault 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.
-
-