public final class PlexusAnnotatedMetadata extends java.lang.Object implements PlexusBeanMetadata
PlexusBeanMetadata based on BeanProperty annotations.| Modifier and Type | Field and Description |
|---|---|
private java.util.Map |
variables |
| Constructor and Description |
|---|
PlexusAnnotatedMetadata(java.util.Map<?,?> variables)
Provides runtime Plexus metadata based on simple property annotations.
|
| 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. |
private java.lang.String |
interpolate(java.lang.String text) |
boolean |
isEmpty() |
public PlexusAnnotatedMetadata(java.util.Map<?,?> variables)
variables - The filter variablespublic boolean isEmpty()
isEmpty in interface PlexusBeanMetadatatrue if there is no more metadata; otherwise falsepublic org.codehaus.plexus.component.annotations.Configuration getConfiguration(BeanProperty<?> property)
PlexusBeanMetadataConfiguration metadata for the given property of the Plexus bean.getConfiguration in interface PlexusBeanMetadataproperty - The bean propertynull if no such metadata is availablepublic org.codehaus.plexus.component.annotations.Requirement getRequirement(BeanProperty<?> property)
PlexusBeanMetadataRequirement metadata for the given property of the Plexus bean.getRequirement in interface PlexusBeanMetadataproperty - The bean propertynull if no such metadata is availableprivate java.lang.String interpolate(java.lang.String text)