Class OverlayArtifactTypeRegistry

  • All Implemented Interfaces:
    ArtifactTypeRegistry

    public final class OverlayArtifactTypeRegistry
    extends SimpleArtifactTypeRegistry
    An artifact type registry which first consults its own mappings and in case of an unknown type falls back to another type registry.
    • Constructor Detail

      • OverlayArtifactTypeRegistry

        public OverlayArtifactTypeRegistry​(ArtifactTypeRegistry delegate)
        Creates a new artifact type registry with initially no registered artifact types and the specified fallback registry. Use add(ArtifactType) to populate the registry.
        Parameters:
        delegate - The artifact type registry to fall back to, may be null.