FACETTYPE
- the base Facet
type supported by this MutableFaceted
type.public interface MutableFaceted<FACETTYPE extends Facet<?>> extends Faceted<FACETTYPE>
Faceted
type.Modifier and Type | Method and Description |
---|---|
boolean |
install(FACETTYPE facet)
Install and register the given
Facet . |
boolean |
register(FACETTYPE facet)
Attempt to add the given
Facet in the internal registry. |
boolean |
uninstall(FACETTYPE facet)
Remove the given
Facet from the internal registry. |
boolean |
unregister(FACETTYPE facet)
Remove the given
Facet from the internal registry. |
getFacet, getFacets, getFacets, hasAllFacets, hasAllFacets, hasFacet, supports
boolean install(FACETTYPE facet)
Facet
. If the facet is already installed, register it and return
true
. If the facet could not be installed, return false
;boolean register(FACETTYPE facet)
Facet
in the internal registry. If Facet.isInstalled()
returns
true
, add it, otherwise return false
. If addition fails, return false
.boolean unregister(FACETTYPE facet)
Facet
from the internal registry. If Facet.isInstalled()
returns
true
, do nothing and return false
. If removal fails, return false
.Copyright © 2014 JBoss by Red Hat. All rights reserved.