Constructor and Description |
---|
FacetLookup() |
Modifier and Type | Method and Description |
---|---|
void |
add(org.sonatype.nexus.repository.Facet facet)
Add a facet and bind exposed types.
|
void |
clear()
Clear all facet bindings.
|
<T extends org.sonatype.nexus.repository.Facet> |
get(Class<T> type)
Get a facet instance by exposed type.
|
Iterator<org.sonatype.nexus.repository.Facet> |
iterator()
List all facet instances.
|
Iterable<org.sonatype.nexus.repository.Facet> |
reverse()
Returns reversed list of all facet instances.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public void add(org.sonatype.nexus.repository.Facet facet)
@Nullable public <T extends org.sonatype.nexus.repository.Facet> T get(Class<T> type)
public void clear()
public Iterator<org.sonatype.nexus.repository.Facet> iterator()
public Iterable<org.sonatype.nexus.repository.Facet> reverse()
Copyright © 2008–2021 Sonatype, Inc.. All rights reserved.