org.apache.maven.usability.plugin
Class Expression

java.lang.Object
  extended by org.apache.maven.usability.plugin.Expression
All Implemented Interfaces:
java.io.Serializable

public class Expression
extends java.lang.Object
implements java.io.Serializable

A plugin parameter expression supported by Maven

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Expression()
           
 
Method Summary
 void addApiMethod(java.lang.String key, java.lang.String value)
          Method addApiMethod
 void addCliOption(java.lang.String key, java.lang.String value)
          Method addCliOption
 java.util.Properties getApiMethods()
          Method getApiMethods
 java.lang.String getBan()
          Get A preferred alternative to this expression, in the case where it's banned from use.
 java.util.Properties getCliOptions()
          Method getCliOptions
 java.lang.String getConfiguration()
          Get The place and syntax used to change the value of this expression.
 java.lang.String getDeprecation()
          Get A preferred alternative to this expression, in the case where it's deprecated.
 java.lang.String getDescription()
          Get The description of what this expression references, and what it's generally used for.
 java.lang.String getModelEncoding()
           
 java.lang.String getSyntax()
          Get The syntax of the expression
 boolean isEditable()
          Get Whether the value of this expression can be changed.
 void setApiMethods(java.util.Properties apiMethods)
          Set The programmatic methods used to change the value of this expression.
 void setBan(java.lang.String ban)
          Set A preferred alternative to this expression, in the case where it's banned from use.
 void setCliOptions(java.util.Properties cliOptions)
          Set The command-line switches used to change the value of this expression.
 void setConfiguration(java.lang.String configuration)
          Set The place and syntax used to change the value of this expression.
 void setDeprecation(java.lang.String deprecation)
          Set A preferred alternative to this expression, in the case where it's deprecated.
 void setDescription(java.lang.String description)
          Set The description of what this expression references, and what it's generally used for.
 void setEditable(boolean editable)
          Set Whether the value of this expression can be changed.
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setSyntax(java.lang.String syntax)
          Set The syntax of the expression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Expression

public Expression()
Method Detail

addApiMethod

public void addApiMethod(java.lang.String key,
                         java.lang.String value)
Method addApiMethod

Parameters:
key -
value -

addCliOption

public void addCliOption(java.lang.String key,
                         java.lang.String value)
Method addCliOption

Parameters:
key -
value -

getApiMethods

public java.util.Properties getApiMethods()
Method getApiMethods


getBan

public java.lang.String getBan()
Get A preferred alternative to this expression, in the case where it's banned from use.


getCliOptions

public java.util.Properties getCliOptions()
Method getCliOptions


getConfiguration

public java.lang.String getConfiguration()
Get The place and syntax used to change the value of this expression.


getDeprecation

public java.lang.String getDeprecation()
Get A preferred alternative to this expression, in the case where it's deprecated.


getDescription

public java.lang.String getDescription()
Get The description of what this expression references, and what it's generally used for.


getSyntax

public java.lang.String getSyntax()
Get The syntax of the expression


isEditable

public boolean isEditable()
Get Whether the value of this expression can be changed.


setApiMethods

public void setApiMethods(java.util.Properties apiMethods)
Set The programmatic methods used to change the value of this expression.

Parameters:
apiMethods -

setBan

public void setBan(java.lang.String ban)
Set A preferred alternative to this expression, in the case where it's banned from use.

Parameters:
ban -

setCliOptions

public void setCliOptions(java.util.Properties cliOptions)
Set The command-line switches used to change the value of this expression.

Parameters:
cliOptions -

setConfiguration

public void setConfiguration(java.lang.String configuration)
Set The place and syntax used to change the value of this expression.

Parameters:
configuration -

setDeprecation

public void setDeprecation(java.lang.String deprecation)
Set A preferred alternative to this expression, in the case where it's deprecated.

Parameters:
deprecation -

setDescription

public void setDescription(java.lang.String description)
Set The description of what this expression references, and what it's generally used for.

Parameters:
description -

setEditable

public void setEditable(boolean editable)
Set Whether the value of this expression can be changed.

Parameters:
editable -

setSyntax

public void setSyntax(java.lang.String syntax)
Set The syntax of the expression

Parameters:
syntax -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()


Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.