public final class OverlayArtifactTypeRegistry extends Object
| Constructor and Description |
|---|
OverlayArtifactTypeRegistry(ArtifactTypeRegistry delegate)
Creates a new artifact type registry with initially no registered artifact types and the specified fallback
registry.
|
| Modifier and Type | Method and Description |
|---|---|
OverlayArtifactTypeRegistry |
add(ArtifactType type)
Adds the specified artifact type to the registry.
|
ArtifactType |
get(String typeId)
Gets the artifact type with the specified identifier.
|
String |
toString() |
public OverlayArtifactTypeRegistry(ArtifactTypeRegistry delegate)
add(ArtifactType) to populate the registry.delegate - The artifact type registry to fall back to, may be null.public OverlayArtifactTypeRegistry add(ArtifactType type)
type - The artifact type to add, must not be null.null.public ArtifactType get(String typeId)
ArtifactTypeRegistryget in interface ArtifactTypeRegistrytypeId - The identifier of the type, must not be null.null if no type with the requested identifier exists.Copyright © 2010-2014 The Eclipse Foundation. All Rights Reserved.