|
Forge - Facets Addon API 2.0.0.Alpha3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
FACETED - The Faceted type to which this Facet may attach.@Exported public interface Facet<FACETED extends Faceted<?>>
A Facet is an access point to common functionality, file manipulations, descriptors that extend a
Faceted instance. When implementing this interface, consider extending AbstractFacet for convenience.
AbstractFacet}| Method Summary | |
|---|---|
FACETED |
getOrigin()
Return the Faceted instance on which this Facet operates. |
boolean |
install()
Perform necessary setup for this Facet to be considered installed in the given Faceted instance. |
boolean |
isInstalled()
Return true if the Facet is available for the given Faceted instance, false if otherwise. |
boolean |
uninstall()
Remove this Facet from its Faceted instance, and perform any necessary cleanup. |
| Method Detail |
|---|
FACETED getOrigin()
Faceted instance on which this Facet operates.
boolean install()
Facet to be considered installed in the given Faceted instance.
This method should NOT register the facet; facet registration is handled by the Faceted instance if
installation is successful.
boolean isInstalled()
Facet is available for the given Faceted instance, false if otherwise.
boolean uninstall()
Facet from its Faceted instance, and perform any necessary cleanup.
|
Forge - Facets Addon API 2.0.0.Alpha3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||