Class Expression

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

public class Expression extends Object implements Serializable
A plugin parameter expression supported by Maven.
Version:
$Revision$ $Date$
See Also:
  • Constructor Details Link icon

    • Expression Link icon

      public Expression()
  • Method Details Link icon

    • addApiMethod Link icon

      public void addApiMethod(String key, String value)
      Method addApiMethod.
      Parameters:
      key - a key object.
      value - a value object.
    • addCliOption Link icon

      public void addCliOption(String key, String value)
      Method addCliOption.
      Parameters:
      key - a key object.
      value - a value object.
    • getApiMethods Link icon

      public Properties getApiMethods()
      Method getApiMethods.
      Returns:
      Properties
    • getBan Link icon

      public String getBan()
      Get a preferred alternative to this expression, in the case where it's banned from use.
      Returns:
      String
    • getCliOptions Link icon

      public Properties getCliOptions()
      Method getCliOptions.
      Returns:
      Properties
    • getConfiguration Link icon

      public String getConfiguration()
      Get the place and syntax used to change the value of this expression.
      Returns:
      String
    • getDeprecation Link icon

      public String getDeprecation()
      Get a preferred alternative to this expression, in the case where it's deprecated.
      Returns:
      String
    • getDescription Link icon

      public String getDescription()
      Get the description of what this expression references, and what it's generally used for.
      Returns:
      String
    • getSyntax Link icon

      public String getSyntax()
      Get the syntax of the expression.
      Returns:
      String
    • isEditable Link icon

      public boolean isEditable()
      Get whether the value of this expression can be changed.
      Returns:
      boolean
    • setApiMethods Link icon

      public void setApiMethods(Properties apiMethods)
      Set the programmatic methods used to change the value of this expression.
      Parameters:
      apiMethods - a apiMethods object.
    • setBan Link icon

      public void setBan(String ban)
      Set a preferred alternative to this expression, in the case where it's banned from use.
      Parameters:
      ban - a ban object.
    • setCliOptions Link icon

      public void setCliOptions(Properties cliOptions)
      Set the command-line switches used to change the value of this expression.
      Parameters:
      cliOptions - a cliOptions object.
    • setConfiguration Link icon

      public void setConfiguration(String configuration)
      Set the place and syntax used to change the value of this expression.
      Parameters:
      configuration - a configuration object.
    • setDeprecation Link icon

      public void setDeprecation(String deprecation)
      Set a preferred alternative to this expression, in the case where it's deprecated.
      Parameters:
      deprecation - a deprecation object.
    • setDescription Link icon

      public void setDescription(String description)
      Set the description of what this expression references, and what it's generally used for.
      Parameters:
      description - a description object.
    • setEditable Link icon

      public void setEditable(boolean editable)
      Set whether the value of this expression can be changed.
      Parameters:
      editable - a editable object.
    • setSyntax Link icon

      public void setSyntax(String syntax)
      Set the syntax of the expression.
      Parameters:
      syntax - a syntax object.