Class ActivationProperty

java.lang.Object
org.apache.maven.profiles.ActivationProperty
All Implemented Interfaces:
Serializable

public class ActivationProperty extends Object implements Serializable
This is the property specification used to activate a profile. If the value field is empty, then the existence of the named property will activate the profile, otherwise it does a case-sensitive match against the property value as well.
Version:
$Revision$ $Date$
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private String
    The name of the property to be used to activate a profile.
    private String
    The value of the property to be used to activate a profile.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the name of the property to be used to activate a profile.
    Get the value of the property to be used to activate a profile.
    void
    Set the name of the property to be used to activate a profile.
    void
    Set the value of the property to be used to activate a profile.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • name

      private String name
      The name of the property to be used to activate a profile.
    • value

      private String value
      The value of the property to be used to activate a profile.
  • Constructor Details

    • ActivationProperty

      public ActivationProperty()
  • Method Details

    • getName

      public String getName()
      Get the name of the property to be used to activate a profile.
      Returns:
      String
    • getValue

      public String getValue()
      Get the value of the property to be used to activate a profile.
      Returns:
      String
    • setName

      public void setName(String name)
      Set the name of the property to be used to activate a profile.
      Parameters:
      name - a name object.
    • setValue

      public void setValue(String value)
      Set the value of the property to be used to activate a profile.
      Parameters:
      value - a value object.