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
Modifier and TypeMethodDescriptionorg.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 Details
-
isEmpty
boolean isEmpty()- Returns:
true
if there is no more metadata; otherwisefalse
-
getConfiguration
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
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
-