public class Parameter extends Object implements Serializable
Constructor and Description |
---|
Parameter() |
Modifier and Type | Method and Description |
---|---|
String |
getAlias()
Get specifies an alias which can be used to configure this
parameter from the POM.
|
String |
getDeprecated()
Get specify the version when the parameter was deprecated to
the API.
|
String |
getDescription()
Get the description of this parameter's use inside the Mojo.
|
String |
getImplementation()
Get the implementation field.
|
String |
getName()
Get the name of the parameter, to be used while configuring
this parameter from the Mojo's declared defaults
or from the POM.
|
String |
getSince()
Get specify the version when the parameter was added to the
API.
|
String |
getType()
Get the Java type for this parameter.
|
boolean |
isEditable()
Get specifies that this parameter can be configured directly
by the user (as in the case of POM-specified
configuration).
|
boolean |
isRequired()
Get whether this parameter is required for the Mojo to
function.
|
void |
setAlias(String alias)
Set specifies an alias which can be used to configure this
parameter from the POM.
|
void |
setDeprecated(String deprecated)
Set specify the version when the parameter was deprecated to
the API.
|
void |
setDescription(String description)
Set the description of this parameter's use inside the Mojo.
|
void |
setEditable(boolean editable)
Set specifies that this parameter can be configured directly
by the user (as in the case of POM-specified
configuration).
|
void |
setImplementation(String implementation)
Set the implementation field.
|
void |
setName(String name)
Set the name of the parameter, to be used while configuring
this parameter from the Mojo's declared defaults
or from the POM.
|
void |
setRequired(boolean required)
Set whether this parameter is required for the Mojo to
function.
|
void |
setSince(String since)
Set specify the version when the parameter was added to the
API.
|
void |
setType(String type)
Set the Java type for this parameter.
|
public Parameter()
public String getAlias()
public String getDeprecated()
public String getDescription()
public String getImplementation()
public String getName()
public String getSince()
public String getType()
public boolean isEditable()
<build><finalName/></build>
rather
than specifying a value for finalName directly
in the plugin configuration section. It is also useful to
ensure that - for example - a List-typed
parameter which expects items of type Artifact doesn't get a
List
full of Strings.public boolean isRequired()
public void setAlias(String alias)
alias
- public void setDeprecated(String deprecated)
deprecated
- public void setDescription(String description)
description
- public void setEditable(boolean editable)
<build><finalName/></build>
rather
than specifying a value for finalName directly
in the plugin configuration section. It is also useful to
ensure that - for example - a List-typed
parameter which expects items of type Artifact doesn't get a
List
full of Strings.editable
- public void setImplementation(String implementation)
implementation
- public void setName(String name)
name
- public void setRequired(boolean required)
required
- public void setSince(String since)
since
- Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.