public final class RequirementImpl extends Object implements org.codehaus.plexus.component.annotations.Requirement
Requirement annotation.| Constructor and Description |
|---|
RequirementImpl(Class<?> role,
boolean optional,
String... hints)
Deprecated.
|
RequirementImpl(DeferredClass<?> role,
boolean optional,
List<String> hints) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Annotation> |
annotationType() |
boolean |
equals(Object rhs) |
int |
hashCode() |
String |
hint() |
String[] |
hints() |
boolean |
optional() |
Class<?> |
role() |
String |
toString() |
public RequirementImpl(DeferredClass<?> role, boolean optional, List<String> hints)
@Deprecated public RequirementImpl(Class<?> role, boolean optional, String... hints)
public Class<?> role()
public boolean optional()
public String hint()
public String[] hints()
public boolean equals(Object rhs)
equals in interface Annotationequals in class Objectpublic int hashCode()
hashCode in interface AnnotationhashCode in class Objectpublic String toString()
toString in interface AnnotationtoString in class Objectpublic Class<? extends Annotation> annotationType()
annotationType in interface AnnotationCopyright © 2016. All rights reserved.