public interface Facet
Plugin types may rely for a set of
domain-specific operations. A Facet is an access point to common functionality, file manipulations,
descriptors that extend a Project instance. When implementing this interface, consider extending
BaseFacet for convenience.
Facets may be annotated with any of the following constraints in order to ensure proper dependencies are satisfied at
runtime: RequiresFacet, RequiresPackagingType
BaseFacet}| Modifier and Type | Method and Description |
|---|---|
Project |
getProject()
|
boolean |
install()
|
boolean |
isInstalled()
|
void |
setProject(Project project)
|
boolean |
uninstall()
|
Project getProject()
void setProject(Project project)
boolean install()
Facet to be considered installed in the given Project. This
method should NOT register the facet; facet registration is handled by the project if installation is successful.boolean isInstalled()
boolean uninstall()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.