|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.component.repository.ComponentRequirement
public class ComponentRequirement
This represents a component this is required by another component.
Constructor Summary | |
---|---|
ComponentRequirement()
|
Method Summary | |
---|---|
boolean |
equals(Object other)
|
String |
getFieldMappingType()
Returns the type of the field this component requirement will inject. |
String |
getFieldName()
Returns the field name that this component requirement will inject. |
String |
getHumanReadableKey()
Returns a human-friendly key, suitable for display. |
String |
getRole()
Returns the role of the required component. |
String |
getRoleHint()
Returns the role-hint of the required component. |
int |
hashCode()
|
void |
setFieldMappingType(String fieldType)
Sets the type of the field that will be populated by the required component. |
void |
setFieldName(String fieldName)
Sets the name of the field that will be populated by the required component. |
void |
setRole(String role)
Sets the role of the require component. |
void |
setRoleHint(String roleHint)
Sets the role-hint of the require component. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ComponentRequirement()
Method Detail |
---|
public String getFieldName()
public void setFieldName(String fieldName)
fieldName
- the name of the field to be populatedpublic String getRole()
public void setRole(String role)
role
- the required component's rolepublic String getRoleHint()
public void setRoleHint(String roleHint)
roleHint
- the required component's role-hintpublic String getFieldMappingType()
public void setFieldMappingType(String fieldType)
fieldType
- the type of the field to be populatedpublic String toString()
toString
in class Object
public String getHumanReadableKey()
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |