public final class PlexusAnnotatedMetadata extends Object implements PlexusBeanMetadata
PlexusBeanMetadata
based on BeanProperty
annotations.Constructor and Description |
---|
PlexusAnnotatedMetadata(Map<?,?> variables)
Provides runtime Plexus metadata based on simple property annotations.
|
Modifier and Type | Method and Description |
---|---|
Configuration |
getConfiguration(BeanProperty<?> property)
Returns @
Configuration metadata for the given property of the Plexus bean. |
Requirement |
getRequirement(BeanProperty<?> property)
Returns @
Requirement metadata for the given property of the Plexus bean. |
boolean |
isEmpty() |
public PlexusAnnotatedMetadata(Map<?,?> variables)
variables
- The filter variablespublic boolean isEmpty()
isEmpty
in interface PlexusBeanMetadata
true
if there is no more metadata; otherwise false
public 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 availablepublic 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 availableCopyright © 2016. All rights reserved.