D - The type of descriptor object that the producer supports.public interface ApiProducer<D>
| Modifier and Type | Method and Description |
|---|---|
D |
addApiInfo(D descriptor)
Add common API Info to the descriptor.
|
D |
merge(List<D> descriptors)
Merge the provided descriptors into a single descriptor.
|
ApiProducer<D> |
newChildProducer(String idFragment)
Create a child producer with the same type, but with the extra ID fragment.
|
D |
withPath(D descriptor,
String parentPath)
Mutate the provided descriptor to add the specified path.
|
D |
withVersion(D descriptor,
Version version)
Mutate the provided descriptor to add the specified version.
|
D withPath(D descriptor, String parentPath)
descriptor - The descriptor to be mutated.parentPath - The path to add to the descriptor.D withVersion(D descriptor, Version version)
descriptor - The descriptor to be mutated.version - The version to apply to the resource.D merge(List<D> descriptors)
descriptors - The descriptors to be merged.D addApiInfo(D descriptor)
descriptor - The descriptor.ApiProducer<D> newChildProducer(String idFragment)
idFragment - The fragment of the ID for this producer.Copyright © 2025 Open Identity Platform Community. All rights reserved.