Package org.eclipse.sisu.plexus
Class ComponentDescriptorBeanModule.ComponentMetadata
java.lang.Object
org.eclipse.sisu.plexus.ComponentDescriptorBeanModule.ComponentMetadata
- All Implemented Interfaces:
PlexusBeanMetadata
- Enclosing class:
- ComponentDescriptorBeanModule
private static final class ComponentDescriptorBeanModule.ComponentMetadata
extends Object
implements PlexusBeanMetadata
PlexusBeanMetadata
backed by list of ComponentRequirement
s.-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionComponentMetadata
(ClassSpace space, List<ComponentRequirement> requirements) -
Method Summary
Modifier and TypeMethodDescriptionorg.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()
-
Field Details
-
requirementMap
-
-
Constructor Details
-
ComponentMetadata
ComponentMetadata(ClassSpace space, List<ComponentRequirement> requirements)
-
-
Method Details
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfacePlexusBeanMetadata
- Returns:
true
if there is no more metadata; otherwisefalse
-
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 interfacePlexusBeanMetadata
- Parameters:
property
- The bean property- Returns:
- Requirement metadata;
null
if no such metadata is available
-
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 interfacePlexusBeanMetadata
- Parameters:
property
- The bean property- Returns:
- Configuration metadata;
null
if no such metadata is available
-