public class Parameter
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
alias
An alternate name for the parameter.
|
private java.lang.String |
defaultValue
An expression in the form ${instance.property}
for extracting a value for this parameter, especially from
a runtime instance within the build system.
|
private java.lang.String |
deprecation
A deprecation message for this mojo parameter.
|
private java.lang.String |
description
The description for this parameter.
|
private java.lang.String |
expression
The command-line reference to this parameter.
|
private java.lang.String |
name
The parameter name.
|
private java.lang.String |
property
The JavaBeans property name to use to configure the mojo
with this parameter.
|
private boolean |
readonly
Whether this parameter can be directly edited.
|
private boolean |
required
Whether this parameter is required.
|
private java.lang.String |
since
Version when the parameter was added.
|
private java.lang.String |
type
The java type for this parameter.
|
Constructor and Description |
---|
Parameter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlias()
Get an alternate name for the parameter.
|
java.lang.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.
|
java.lang.String |
getDeprecation()
Get a deprecation message for this mojo parameter.
|
java.lang.String |
getDescription()
Get the description for this parameter.
|
java.lang.String |
getExpression()
Get the command-line reference to this parameter.
|
java.lang.String |
getName()
Get the parameter name.
|
java.lang.String |
getProperty()
Get the JavaBeans property name to use to configure the mojo
with this parameter.
|
java.lang.String |
getSince()
Get version when the parameter was added.
|
java.lang.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(java.lang.String alias)
Set an alternate name for the parameter.
|
void |
setDefaultValue(java.lang.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(java.lang.String deprecation)
Set a deprecation message for this mojo parameter.
|
void |
setDescription(java.lang.String description)
Set the description for this parameter.
|
void |
setExpression(java.lang.String expression)
Set the command-line reference to this parameter.
|
void |
setName(java.lang.String name)
Set the parameter name.
|
void |
setProperty(java.lang.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 |
setSince(java.lang.String since)
Set version when the parameter was added.
|
void |
setType(java.lang.String type)
Set the java type for this parameter.
|
private java.lang.String name
private java.lang.String alias
private java.lang.String property
private boolean required
private boolean readonly
private java.lang.String expression
private java.lang.String defaultValue
private java.lang.String type
private java.lang.String description
private java.lang.String deprecation
private java.lang.String since
public java.lang.String getAlias()
public java.lang.String getDefaultValue()
public java.lang.String getDeprecation()
public java.lang.String getDescription()
public java.lang.String getExpression()
public java.lang.String getName()
public java.lang.String getProperty()
public java.lang.String getSince()
public java.lang.String getType()
public boolean isReadonly()
public boolean isRequired()
public void setAlias(java.lang.String alias)
alias
- public void setDefaultValue(java.lang.String defaultValue)
defaultValue
- public void setDeprecation(java.lang.String deprecation)
deprecation
- public void setDescription(java.lang.String description)
description
- public void setExpression(java.lang.String expression)
expression
- public void setName(java.lang.String name)
name
- public void setProperty(java.lang.String property)
property
- public void setReadonly(boolean readonly)
readonly
- public void setRequired(boolean required)
required
- public void setSince(java.lang.String since)
since
- public void setType(java.lang.String type)
type
-