|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.tools.model.Mojo
public class Mojo
Mojo descriptor definition.
Constructor Summary | |
---|---|
Mojo()
|
Method Summary | |
---|---|
void |
addComponent(Component component)
Method addComponent |
void |
addParameter(Parameter parameter)
Method addParameter |
String |
getCall()
Get The target/method within the script to call when this mojo executes. |
List |
getComponents()
Method getComponents |
String |
getDeprecation()
Get A deprecation message for this mojo parameter. |
String |
getDescription()
Get The description for this parameter. |
LifecycleExecution |
getExecution()
Get Information about a sub-execution of the Maven lifecycle which should be processed. |
String |
getGoal()
Get The name of the goal used to invoke this mojo. |
String |
getModelEncoding()
|
List |
getParameters()
Method getParameters |
String |
getPhase()
Get The phase to which this mojo should be bound by default. |
String |
getRequiresDependencyResolution()
Get The scope of dependencies that this mojo requires to have resolved. |
boolean |
isAggregator()
Get Whether this mojo operates as an aggregator when the reactor is run. |
boolean |
isInheritByDefault()
Get Whether this mojo's configuration should propagate down the POM inheritance chain by default. |
boolean |
isRequiresDirectInvocation()
Get If true, this mojo can only be directly invoked (eg. |
boolean |
isRequiresOnline()
Get Whether this mojo requires online mode to operate normally. |
boolean |
isRequiresProject()
Get Whether this mojo requires a project instance in order to execute. |
boolean |
isRequiresReports()
Get Whether this mojo requires a reports section in the POM. |
void |
removeComponent(Component component)
Method removeComponent |
void |
removeParameter(Parameter parameter)
Method removeParameter |
void |
setAggregator(boolean aggregator)
Set Whether this mojo operates as an aggregator when the reactor is run. |
void |
setCall(String call)
Set The target/method within the script to call when this mojo executes. |
void |
setComponents(List components)
Set List of plexus components required by this mojo. |
void |
setDeprecation(String deprecation)
Set A deprecation message for this mojo parameter. |
void |
setDescription(String description)
Set The description for this parameter. |
void |
setExecution(LifecycleExecution execution)
Set Information about a sub-execution of the Maven lifecycle which should be processed. |
void |
setGoal(String goal)
Set The name of the goal used to invoke this mojo. |
void |
setInheritByDefault(boolean inheritByDefault)
Set Whether this mojo's configuration should propagate down the POM inheritance chain by default. |
void |
setModelEncoding(String modelEncoding)
|
void |
setParameters(List parameters)
Set List of parameters used by this mojo. |
void |
setPhase(String phase)
Set The phase to which this mojo should be bound by default. |
void |
setRequiresDependencyResolution(String requiresDependencyResolution)
Set The scope of dependencies that this mojo requires to have resolved. |
void |
setRequiresDirectInvocation(boolean requiresDirectInvocation)
Set If true, this mojo can only be directly invoked (eg. |
void |
setRequiresOnline(boolean requiresOnline)
Set Whether this mojo requires online mode to operate normally. |
void |
setRequiresProject(boolean requiresProject)
Set Whether this mojo requires a project instance in order to execute. |
void |
setRequiresReports(boolean requiresReports)
Set Whether this mojo requires a reports section in the POM. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Mojo()
Method Detail |
---|
public void addComponent(Component component)
component
- public void addParameter(Parameter parameter)
parameter
- public String getCall()
public List getComponents()
public String getDeprecation()
public String getDescription()
public LifecycleExecution getExecution()
public String getGoal()
public List getParameters()
public String getPhase()
public String getRequiresDependencyResolution()
public boolean isAggregator()
public boolean isInheritByDefault()
public boolean isRequiresDirectInvocation()
public boolean isRequiresOnline()
public boolean isRequiresProject()
public boolean isRequiresReports()
public void removeComponent(Component component)
component
- public void removeParameter(Parameter parameter)
parameter
- public void setAggregator(boolean aggregator)
aggregator
- public void setCall(String call)
call
- public void setComponents(List components)
components
- public void setDeprecation(String deprecation)
deprecation
- public void setDescription(String description)
description
- public void setExecution(LifecycleExecution execution)
execution
- public void setGoal(String goal)
goal
- public void setInheritByDefault(boolean inheritByDefault)
inheritByDefault
- public void setParameters(List parameters)
parameters
- public void setPhase(String phase)
phase
- public void setRequiresDependencyResolution(String requiresDependencyResolution)
requiresDependencyResolution
- public void setRequiresDirectInvocation(boolean requiresDirectInvocation)
requiresDirectInvocation
- public void setRequiresOnline(boolean requiresOnline)
requiresOnline
- public void setRequiresProject(boolean requiresProject)
requiresProject
- public void setRequiresReports(boolean requiresReports)
requiresReports
- public void setModelEncoding(String modelEncoding)
public String getModelEncoding()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |