Class Parameter
java.lang.Object
org.apache.maven.tools.plugin.extractor.model.Parameter
- All Implemented Interfaces:
- Serializable
A parameter used by a mojo, and configurable from the
 command line or POM configuration sections.
- Version:
- $Revision$ $Date$
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetAlias()Get an alternate name for the parameter.Get an expression in the form ${instance.property} for extracting a value for this parameter, especially from a runtime instance within the build system.Get a deprecation message for this mojo parameter.Get the description for this parameter.Get the command-line reference to this parameter.getName()Get the parameter name.Get the JavaBeans property name to use to configure the mojo with this parameter.getSince()Get version when the parameter was added.getType()Get the java type for this parameter.booleanGet whether this parameter can be directly edited.booleanGet whether this parameter is required.voidSet an alternate name for the parameter.voidsetDefaultValue(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.voidsetDeprecation(String deprecation) Set a deprecation message for this mojo parameter.voidsetDescription(String description) Set the description for this parameter.voidsetExpression(String expression) Set the command-line reference to this parameter.voidSet the parameter name.voidsetProperty(String property) Set the JavaBeans property name to use to configure the mojo with this parameter.voidsetReadonly(boolean readonly) Set whether this parameter can be directly edited.voidsetRequired(boolean required) Set whether this parameter is required.voidSet version when the parameter was added.voidSet the java type for this parameter.
- 
Constructor Details- 
Parameterpublic Parameter()
 
- 
- 
Method Details- 
getAliasGet an alternate name for the parameter.- Returns:
- String
 
- 
getDefaultValueGet an expression in the form ${instance.property} for extracting a value for this parameter, especially from a runtime instance within the build system. (eg. ${project.build.directory} references project.getBuild().getDirectory()).- Returns:
- String
 
- 
getDeprecationGet a deprecation message for this mojo parameter.- Returns:
- String
 
- 
getDescriptionGet the description for this parameter.- Returns:
- String
 
- 
getExpressionGet the command-line reference to this parameter.- Returns:
- String
 
- 
getNameGet the parameter name.- Returns:
- String
 
- 
getPropertyGet the JavaBeans property name to use to configure the mojo with this parameter.- Returns:
- String
 
- 
getSinceGet version when the parameter was added.- Returns:
- String
 
- 
getTypeGet the java type for this parameter.- Returns:
- String
 
- 
isReadonlyGet whether this parameter can be directly edited. If false, this param is either derived from another POM element, or refers to a runtime instance of the build system.- Returns:
- boolean
 
- 
isRequiredGet whether this parameter is required.- Returns:
- boolean
 
- 
setAliasSet an alternate name for the parameter.- Parameters:
- alias- a alias object.
 
- 
setDefaultValueSet an expression in the form ${instance.property} for extracting a value for this parameter, especially from a runtime instance within the build system. (eg. ${project.build.directory} references project.getBuild().getDirectory()).- Parameters:
- defaultValue- a defaultValue object.
 
- 
setDeprecationSet a deprecation message for this mojo parameter.- Parameters:
- deprecation- a deprecation object.
 
- 
setDescriptionSet the description for this parameter.- Parameters:
- description- a description object.
 
- 
setExpressionSet the command-line reference to this parameter.- Parameters:
- expression- a expression object.
 
- 
setNameSet the parameter name.- Parameters:
- name- a name object.
 
- 
setPropertySet the JavaBeans property name to use to configure the mojo with this parameter.- Parameters:
- property- a property object.
 
- 
setReadonlySet whether this parameter can be directly edited. If false, this param is either derived from another POM element, or refers to a runtime instance of the build system.- Parameters:
- readonly- a readonly object.
 
- 
setRequiredSet whether this parameter is required.- Parameters:
- required- a required object.
 
- 
setSinceSet version when the parameter was added.- Parameters:
- since- a since object.
 
- 
setTypeSet the java type for this parameter.- Parameters:
- type- a type object.
 
 
-