org.codehaus.plexus.component.annotations
Annotation Type Requirement


@Documented
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
@Inherited
public @interface Requirement

Configures a requirement.

Since:
1.0-alpha-33
Version:
$Id$

Optional Element Summary
 java.lang.String hint
           
 java.lang.String[] hints
           
 boolean optional
           
 java.lang.Class<?> role
           
 

role

public abstract java.lang.Class<?> role
Default:
java.lang.Object.class

hint

public abstract java.lang.String hint
Default:
""

hints

public abstract java.lang.String[] hints
Default:
{}

optional

public abstract boolean optional
Default:
false


Copyright © 2001-2011 Codehaus. All Rights Reserved.