Class Expression
java.lang.Object
org.apache.maven.usability.plugin.Expression
- All Implemented Interfaces:
- Serializable
A plugin parameter expression supported by Maven.
- Version:
- $Revision$ $Date$
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddApiMethod(String key, String value) Method addApiMethod.voidaddCliOption(String key, String value) Method addCliOption.Method getApiMethods.getBan()Get a preferred alternative to this expression, in the case where it's banned from use.Method getCliOptions.Get the place and syntax used to change the value of this expression.Get a preferred alternative to this expression, in the case where it's deprecated.Get the description of what this expression references, and what it's generally used for.Get the syntax of the expression.booleanGet whether the value of this expression can be changed.voidsetApiMethods(Properties apiMethods) Set the programmatic methods used to change the value of this expression.voidSet a preferred alternative to this expression, in the case where it's banned from use.voidsetCliOptions(Properties cliOptions) Set the command-line switches used to change the value of this expression.voidsetConfiguration(String configuration) Set the place and syntax used to change the value of this expression.voidsetDeprecation(String deprecation) Set a preferred alternative to this expression, in the case where it's deprecated.voidsetDescription(String description) Set the description of what this expression references, and what it's generally used for.voidsetEditable(boolean editable) Set whether the value of this expression can be changed.voidSet the syntax of the expression.
- 
Constructor Details- 
Expressionpublic Expression()
 
- 
- 
Method Details- 
addApiMethodMethod addApiMethod.- Parameters:
- key- a key object.
- value- a value object.
 
- 
addCliOptionMethod addCliOption.- Parameters:
- key- a key object.
- value- a value object.
 
- 
getApiMethodsMethod getApiMethods.- Returns:
- Properties
 
- 
getBanGet a preferred alternative to this expression, in the case where it's banned from use.- Returns:
- String
 
- 
getCliOptionsMethod getCliOptions.- Returns:
- Properties
 
- 
getConfigurationGet the place and syntax used to change the value of this expression.- Returns:
- String
 
- 
getDeprecationGet a preferred alternative to this expression, in the case where it's deprecated.- Returns:
- String
 
- 
getDescriptionGet the description of what this expression references, and what it's generally used for.- Returns:
- String
 
- 
getSyntaxGet the syntax of the expression.- Returns:
- String
 
- 
isEditablepublic boolean isEditable()Get whether the value of this expression can be changed.- Returns:
- boolean
 
- 
setApiMethodsSet the programmatic methods used to change the value of this expression.- Parameters:
- apiMethods- a apiMethods object.
 
- 
setBanSet a preferred alternative to this expression, in the case where it's banned from use.- Parameters:
- ban- a ban object.
 
- 
setCliOptionsSet the command-line switches used to change the value of this expression.- Parameters:
- cliOptions- a cliOptions object.
 
- 
setConfigurationSet the place and syntax used to change the value of this expression.- Parameters:
- configuration- a configuration object.
 
- 
setDeprecationSet a preferred alternative to this expression, in the case where it's deprecated.- Parameters:
- deprecation- a deprecation object.
 
- 
setDescriptionSet the description of what this expression references, and what it's generally used for.- Parameters:
- description- a description object.
 
- 
setEditablepublic void setEditable(boolean editable) Set whether the value of this expression can be changed.- Parameters:
- editable- a editable object.
 
- 
setSyntaxSet the syntax of the expression.- Parameters:
- syntax- a syntax object.
 
 
-