| Modifier and Type | Class and Description |
|---|---|
class |
ConfigurationFacet
This facet allows easy access to the project-scoped
Configuration object |
| Modifier and Type | Method and Description |
|---|---|
<F extends Facet> |
Project.getFacet(Class<F> type)
Return the instance of the requested
Facet type, or throw a FacetNotFoundException if no
Facet of that type is registered. |
<F extends Facet> |
BaseProject.getFacet(Class<F> type) |
<F extends Facet> |
Project.getFacets(Class<F> type)
Return a
Collection of the currently installed Facets matching the given type. |
<F extends Facet> |
BaseProject.getFacets(Class<F> type) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Facet> |
Project.getFacets()
Return a
Collection of the currently installed Facets. |
List<Facet> |
BaseProject.getFacets() |
| Modifier and Type | Method and Description |
|---|---|
Project |
Project.installFacet(Facet facet)
Install and register the given
Facet. |
Project |
BaseProject.installFacet(Facet facet) |
Project |
Project.registerFacet(Facet facet)
|
Project |
BaseProject.registerFacet(Facet facet) |
Project |
Project.removeFacet(Facet facet)
|
Project |
BaseProject.removeFacet(Facet facet) |
Project |
Project.unregisterFacet(Facet facet)
|
Project |
BaseProject.unregisterFacet(Facet facet) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Project.hasAllFacets(Collection<Class<? extends Facet>> facetDependencies)
Return true if this project has all
Facets of the given types; otherwise, if any of the given facet types
is missing, return false. |
boolean |
BaseProject.hasAllFacets(Collection<Class<? extends Facet>> facetDependencies) |
boolean |
Project.hasFacet(Class<? extends Facet> type)
Return true if this project has a facet of the given type; return false otherwise.
|
boolean |
BaseProject.hasFacet(Class<? extends Facet> type) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
DependencyFacet |
interface |
JavaExecutionFacet |
interface |
JavaSourceFacet |
interface |
MetadataFacet |
interface |
PackagingFacet
A Facet representing this project's Packaging (JAR, WAR, EAR, etc...)
|
interface |
ResourceFacet |
interface |
WebResourceFacet
A
Facet containing APIs to interact with Java Web Projects |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseFacet
A base convenience
Facet abstract class. |
| Modifier and Type | Method and Description |
|---|---|
Facet |
FacetInstalled.getFacet() |
Facet |
FacetRemoved.getFacet() |
| Modifier and Type | Method and Description |
|---|---|
List<Class<? extends Facet>> |
InstallFacets.getFacetTypes()
Get the facet types to be installed
|
List<Class<? extends Facet>> |
RemoveFacets.getFacetTypes()
Get the facet types to be installed
|
| Constructor and Description |
|---|
FacetInstalled(Facet facet) |
FacetRemoved(Facet facet) |
| Constructor and Description |
|---|
InstallFacets(boolean prompt,
Class<? extends Facet> facetType)
Install the given facet but first prompt for confirmation.
|
InstallFacets(Class<? extends Facet> facetType)
Install the given facet without prompting for confirmation
|
RemoveFacets(boolean prompt,
Class<? extends Facet> facetType)
Install the given facet but first prompt for confirmation.
|
RemoveFacets(Class<? extends Facet> facetType)
Install the given facet without prompting for confirmation
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Facet> |
FacetFactory.getFacet(Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
Facet |
FacetFactory.getFacetByName(String facetName) |
| Modifier and Type | Method and Description |
|---|---|
List<Facet> |
FacetFactory.getFacets()
Deprecated.
Use #getFacetTypes() instead. This will be removed in a future release.
|
Set<Class<? extends Facet>> |
FacetFactory.getFacetTypes() |
| Modifier and Type | Method and Description |
|---|---|
void |
ProjectFactory.installSingleFacet(Project project,
Class<? extends Facet> type) |
void |
ProjectFactory.registerSingleFacet(Project project,
Class<? extends Facet> type) |
| Modifier and Type | Method and Description |
|---|---|
Set<Class<? extends Facet>> |
FacetRegistry.getFacetTypes()
Return all known
Facet types. |
| Modifier and Type | Method and Description |
|---|---|
static List<Class<? extends Facet>> |
ConstraintInspector.getFacetDependencies(Class<?> type)
|
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.