|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonatype.aether.util.artifact.DefaultArtifactTypeRegistry
public class DefaultArtifactTypeRegistry
A simple artifact type registry.
| Constructor Summary | |
|---|---|
DefaultArtifactTypeRegistry()
|
|
| Method Summary | |
|---|---|
DefaultArtifactTypeRegistry |
add(ArtifactType stereotype)
Adds the specified artifact type to the registry. |
ArtifactType |
get(java.lang.String stereotypeId)
Gets the artifact type with the specified identifier. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultArtifactTypeRegistry()
| Method Detail |
|---|
public DefaultArtifactTypeRegistry add(ArtifactType stereotype)
stereotype - The artifact type to add, must not be null.
null.public ArtifactType get(java.lang.String stereotypeId)
ArtifactTypeRegistry
get in interface ArtifactTypeRegistrystereotypeId - The identifier of the type, must not be null.
null if no type with the requested identifier exists.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||