|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.AbstractMavenComponent
Base class from which all components in maven are derived.
Constructor Summary | |
AbstractMavenComponent()
Default Constructor. |
|
AbstractMavenComponent(Project aProject)
Create a component that uses a project |
Method Summary | |
java.lang.String |
getMessage(java.lang.String messageId)
Retrieve a user message. |
java.lang.String |
getMessage(java.lang.String messageId,
java.lang.Object variable)
Retrieve a user message. |
Project |
getProject()
|
void |
setProject(Project aProject)
set the project property |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractMavenComponent()
public AbstractMavenComponent(Project aProject)
aProject
- a Maven projectMethod Detail |
public void setProject(Project aProject)
aProject
- a Maven projectpublic Project getProject()
public java.lang.String getMessage(java.lang.String messageId)
messageId
- Id of message type to use.
MavenUtils.getMessage(java.lang.String)
public java.lang.String getMessage(java.lang.String messageId, java.lang.Object variable)
messageId
- Id of message type to use.variable
- Value to substitute for ${1} in the given message.
MavenUtils.getMessage(java.lang.String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |