Package org.eclipse.sisu.plexus
Interface PlexusBeanMetadata
-
- All Known Implementing Classes:
ComponentDescriptorBeanModule.ComponentMetadata
,PlexusAnnotatedMetadata
,PlexusXmlMetadata
public interface PlexusBeanMetadata
Supplies metadata associated with a particular Plexus bean implementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.codehaus.plexus.component.annotations.Configuration
getConfiguration(BeanProperty<?> property)
Returns @Configuration
metadata for the given property of the Plexus bean.org.codehaus.plexus.component.annotations.Requirement
getRequirement(BeanProperty<?> property)
Returns @Requirement
metadata for the given property of the Plexus bean.boolean
isEmpty()
-
-
-
Method Detail
-
isEmpty
boolean isEmpty()
- Returns:
true
if there is no more metadata; otherwisefalse
-
getConfiguration
org.codehaus.plexus.component.annotations.Configuration getConfiguration(BeanProperty<?> property)
Returns @Configuration
metadata for the given property of the Plexus bean.- Parameters:
property
- The bean property- Returns:
- Configuration metadata;
null
if no such metadata is available
-
getRequirement
org.codehaus.plexus.component.annotations.Requirement getRequirement(BeanProperty<?> property)
Returns @Requirement
metadata for the given property of the Plexus bean.- Parameters:
property
- The bean property- Returns:
- Requirement metadata;
null
if no such metadata is available
-
-