|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.tools.model.Parameter
public class Parameter
A parameter used by a mojo, and configurable from the command line or POM configuration sections.
Constructor Summary | |
---|---|
Parameter()
|
Method Summary | |
---|---|
String |
getAlias()
Get An alternate name for the parameter. |
String |
getDefaultValue()
Get An expression in the form ${instance.property} for extracting a value for this parameter, especially from a runtime instance within the build system. |
String |
getDeprecation()
Get A deprecation message for this mojo parameter. |
String |
getDescription()
Get The description for this parameter. |
String |
getExpression()
Get The command-line reference to this parameter. |
String |
getModelEncoding()
|
String |
getName()
Get The parameter name |
String |
getProperty()
Get The JavaBeans property name to use to configure the mojo with this parameter. |
String |
getType()
Get The java type for this parameter. |
boolean |
isReadonly()
Get Whether this parameter can be directly edited. |
boolean |
isRequired()
Get Whether this parameter is required. |
void |
setAlias(String alias)
Set An alternate name for the parameter. |
void |
setDefaultValue(String defaultValue)
Set An expression in the form ${instance.property} for extracting a value for this parameter, especially from a runtime instance within the build system. |
void |
setDeprecation(String deprecation)
Set A deprecation message for this mojo parameter. |
void |
setDescription(String description)
Set The description for this parameter. |
void |
setExpression(String expression)
Set The command-line reference to this parameter. |
void |
setModelEncoding(String modelEncoding)
|
void |
setName(String name)
Set The parameter name |
void |
setProperty(String property)
Set The JavaBeans property name to use to configure the mojo with this parameter. |
void |
setReadonly(boolean readonly)
Set Whether this parameter can be directly edited. |
void |
setRequired(boolean required)
Set Whether this parameter is required. |
void |
setType(String type)
Set The java type for this parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Parameter()
Method Detail |
---|
public String getAlias()
public String getDefaultValue()
public String getDeprecation()
public String getDescription()
public String getExpression()
public String getName()
public String getProperty()
public String getType()
public boolean isReadonly()
public boolean isRequired()
public void setAlias(String alias)
alias
- public void setDefaultValue(String defaultValue)
defaultValue
- public void setDeprecation(String deprecation)
deprecation
- public void setDescription(String description)
description
- public void setExpression(String expression)
expression
- public void setName(String name)
name
- public void setProperty(String property)
property
- public void setReadonly(boolean readonly)
readonly
- public void setRequired(boolean required)
required
- public void setType(String type)
type
- public void setModelEncoding(String modelEncoding)
public String getModelEncoding()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |