Package org.eclipse.sisu.plexus
Interface PlexusBeanMetadata
- All Known Implementing Classes:
PlexusAnnotatedMetadata
public interface PlexusBeanMetadata
Supplies metadata associated with a particular Plexus bean implementation.
-
Method Summary
Modifier and TypeMethodDescriptionorg.codehaus.plexus.component.annotations.ConfigurationgetConfiguration(org.eclipse.sisu.bean.BeanProperty<?> property) Returns @Configurationmetadata for the given property of the Plexus bean.org.codehaus.plexus.component.annotations.RequirementgetRequirement(org.eclipse.sisu.bean.BeanProperty<?> property) Returns @Requirementmetadata for the given property of the Plexus bean.booleanisEmpty()
-
Method Details
-
isEmpty
boolean isEmpty()- Returns:
trueif there is no more metadata; otherwisefalse
-
getConfiguration
org.codehaus.plexus.component.annotations.Configuration getConfiguration(org.eclipse.sisu.bean.BeanProperty<?> property) Returns @Configurationmetadata for the given property of the Plexus bean.- Parameters:
property- The bean property- Returns:
- Configuration metadata;
nullif no such metadata is available
-
getRequirement
org.codehaus.plexus.component.annotations.Requirement getRequirement(org.eclipse.sisu.bean.BeanProperty<?> property) Returns @Requirementmetadata for the given property of the Plexus bean.- Parameters:
property- The bean property- Returns:
- Requirement metadata;
nullif no such metadata is available
-