Package org.eclipse.sisu.plexus
Class PlexusAnnotatedMetadata
java.lang.Object
org.eclipse.sisu.plexus.PlexusAnnotatedMetadata
- All Implemented Interfaces:
PlexusBeanMetadata
Runtime
PlexusBeanMetadata based on BeanProperty annotations.-
Constructor Summary
ConstructorsConstructorDescriptionPlexusAnnotatedMetadata(Map<?, ?> variables) Provides runtime Plexus metadata based on simple property annotations. -
Method Summary
Modifier and TypeMethodDescriptionorg.codehaus.plexus.component.annotations.ConfigurationgetConfiguration(BeanProperty<?> property) Returns @Configurationmetadata for the given property of the Plexus bean.org.codehaus.plexus.component.annotations.RequirementgetRequirement(BeanProperty<?> property) Returns @Requirementmetadata for the given property of the Plexus bean.booleanisEmpty()
-
Constructor Details
-
PlexusAnnotatedMetadata
Provides runtime Plexus metadata based on simple property annotations.- Parameters:
variables- The filter variables
-
-
Method Details
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfacePlexusBeanMetadata- Returns:
trueif there is no more metadata; otherwisefalse
-
getConfiguration
public org.codehaus.plexus.component.annotations.Configuration getConfiguration(BeanProperty<?> property) Description copied from interface:PlexusBeanMetadataReturns @Configurationmetadata for the given property of the Plexus bean.- Specified by:
getConfigurationin interfacePlexusBeanMetadata- Parameters:
property- The bean property- Returns:
- Configuration metadata;
nullif no such metadata is available
-
getRequirement
public org.codehaus.plexus.component.annotations.Requirement getRequirement(BeanProperty<?> property) Description copied from interface:PlexusBeanMetadataReturns @Requirementmetadata for the given property of the Plexus bean.- Specified by:
getRequirementin interfacePlexusBeanMetadata- Parameters:
property- The bean property- Returns:
- Requirement metadata;
nullif no such metadata is available
-