private static final class ComponentDescriptorBeanModule.ComponentMetadata extends java.lang.Object implements PlexusBeanMetadata
PlexusBeanMetadata
backed by list of ComponentRequirement
s.Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,org.codehaus.plexus.component.annotations.Requirement> |
requirementMap |
Constructor and Description |
---|
ComponentMetadata(ClassSpace space,
java.util.List<ComponentRequirement> requirements) |
Modifier and Type | Method and 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() |
private java.util.Map<java.lang.String,org.codehaus.plexus.component.annotations.Requirement> requirementMap
ComponentMetadata(ClassSpace space, java.util.List<ComponentRequirement> requirements)
public boolean isEmpty()
isEmpty
in interface PlexusBeanMetadata
true
if there is no more metadata; otherwise false
public org.codehaus.plexus.component.annotations.Requirement getRequirement(BeanProperty<?> property)
PlexusBeanMetadata
Requirement
metadata for the given property of the Plexus bean.getRequirement
in interface PlexusBeanMetadata
property
- The bean propertynull
if no such metadata is availablepublic org.codehaus.plexus.component.annotations.Configuration getConfiguration(BeanProperty<?> property)
PlexusBeanMetadata
Configuration
metadata for the given property of the Plexus bean.getConfiguration
in interface PlexusBeanMetadata
property
- The bean propertynull
if no such metadata is available