org.sonatype.guice.plexus.scanners
Class PlexusAnnotatedMetadata

java.lang.Object
  extended by org.sonatype.guice.plexus.scanners.PlexusAnnotatedMetadata
All Implemented Interfaces:
PlexusBeanMetadata

public final class PlexusAnnotatedMetadata
extends Object
implements PlexusBeanMetadata

Runtime PlexusBeanMetadata based on BeanProperty annotations.


Constructor Summary
PlexusAnnotatedMetadata(Map<?,?> variables)
          Provides runtime Plexus metadata based on simple property annotations.
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlexusAnnotatedMetadata

public PlexusAnnotatedMetadata(Map<?,?> variables)
Provides runtime Plexus metadata based on simple property annotations.

Parameters:
variables - The filter variables
Method Detail

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface PlexusBeanMetadata
Returns:
true if there is no more metadata; otherwise false

getConfiguration

public org.codehaus.plexus.component.annotations.Configuration getConfiguration(BeanProperty<?> property)
Description copied from interface: PlexusBeanMetadata
Returns @Configuration metadata for the given property of the Plexus bean.

Specified by:
getConfiguration in interface PlexusBeanMetadata
Parameters:
property - The bean property
Returns:
Configuration metadata; null if no such metadata is available

getRequirement

public org.codehaus.plexus.component.annotations.Requirement getRequirement(BeanProperty<?> property)
Description copied from interface: PlexusBeanMetadata
Returns @Requirement metadata for the given property of the Plexus bean.

Specified by:
getRequirement in interface PlexusBeanMetadata
Parameters:
property - The bean property
Returns:
Requirement metadata; null if no such metadata is available


Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.