public final class

PlexusAnnotatedMetadata

extends Object
implements PlexusBeanMetadata
java.lang.Object
   ↳ org.eclipse.sisu.plexus.PlexusAnnotatedMetadata

Class Overview

Runtime PlexusBeanMetadata based on BeanProperty annotations.

Summary

Public Constructors
PlexusAnnotatedMetadata(Map<?, ?> variables)
Provides runtime Plexus metadata based on simple property annotations.
Public Methods
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()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.eclipse.sisu.plexus.PlexusBeanMetadata

Public Constructors

public PlexusAnnotatedMetadata (Map<?, ?> variables)

Provides runtime Plexus metadata based on simple property annotations.

Parameters
variables The filter variables

Public Methods

public Configuration getConfiguration (BeanProperty<?> property)

Returns @Configuration metadata for the given property of the Plexus bean.

Parameters
property The bean property
Returns
  • Configuration metadata; null if no such metadata is available

public Requirement getRequirement (BeanProperty<?> property)

Returns @Requirement metadata for the given property of the Plexus bean.

Parameters
property The bean property
Returns
  • Requirement metadata; null if no such metadata is available

public boolean isEmpty ()