public class DefaultFacetsProvider extends java.lang.Object implements FacetsProvider
Modifier and Type | Field and Description |
---|---|
static FacetsProvider |
INSTANCE |
Constructor and Description |
---|
DefaultFacetsProvider() |
Modifier and Type | Method and Description |
---|---|
<F extends Facet> |
findFacet(Module module,
FacetTypeId<F> type,
java.lang.String name) |
Facet [] |
getAllFacets(Module module) |
<F extends Facet> |
getFacetsByType(Module module,
FacetTypeId<F> type) |
public static final FacetsProvider INSTANCE
public Facet [] getAllFacets(Module module)
getAllFacets
in interface FacetsProvider
public <F extends Facet> java.util.Collection<F> getFacetsByType(Module module, FacetTypeId<F> type)
getFacetsByType
in interface FacetsProvider
public <F extends Facet> F findFacet(Module module, FacetTypeId<F> type, java.lang.String name)
findFacet
in interface FacetsProvider