Package org.eclipse.sisu.plexus
Class ComponentDescriptorBeanModule.ComponentMetadata
- java.lang.Object
-
- org.eclipse.sisu.plexus.ComponentDescriptorBeanModule.ComponentMetadata
-
- All Implemented Interfaces:
PlexusBeanMetadata
- Enclosing class:
- ComponentDescriptorBeanModule
private static final class ComponentDescriptorBeanModule.ComponentMetadata extends java.lang.Object implements PlexusBeanMetadata
PlexusBeanMetadatabacked by list ofComponentRequirements.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,org.codehaus.plexus.component.annotations.Requirement>requirementMap
-
Constructor Summary
Constructors Constructor Description ComponentMetadata(ClassSpace space, java.util.List<ComponentRequirement> requirements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.codehaus.plexus.component.annotations.ConfigurationgetConfiguration(BeanProperty<?> property)Returns @Configurationmetadata for the given property of the Plexus bean.org.codehaus.plexus.component.annotations.RequirementgetRequirement(BeanProperty<?> property)Returns @Requirementmetadata for the given property of the Plexus bean.booleanisEmpty()
-
-
-
Constructor Detail
-
ComponentMetadata
ComponentMetadata(ClassSpace space, java.util.List<ComponentRequirement> requirements)
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfacePlexusBeanMetadata- Returns:
trueif there is no more metadata; otherwisefalse
-
getRequirement
public org.codehaus.plexus.component.annotations.Requirement getRequirement(BeanProperty<?> property)
Description copied from interface:PlexusBeanMetadataReturns @Requirementmetadata for the given property of the Plexus bean.- Specified by:
getRequirementin interfacePlexusBeanMetadata- Parameters:
property- The bean property- Returns:
- Requirement metadata;
nullif no such metadata is available
-
getConfiguration
public org.codehaus.plexus.component.annotations.Configuration getConfiguration(BeanProperty<?> property)
Description copied from interface:PlexusBeanMetadataReturns @Configurationmetadata for the given property of the Plexus bean.- Specified by:
getConfigurationin interfacePlexusBeanMetadata- Parameters:
property- The bean property- Returns:
- Configuration metadata;
nullif no such metadata is available
-
-