org.apache.maven.model
Class ActivationProperty

java.lang.Object
  extended by org.apache.maven.model.ActivationProperty
All Implemented Interfaces:
java.io.Serializable

public class ActivationProperty
extends java.lang.Object
implements java.io.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:
Serialized Form

Field Summary
private  java.lang.String name
          The name of the property to be used to activate a profile.
private  java.lang.String value
          The value of the property required to activate a profile.
 
Constructor Summary
ActivationProperty()
           
 
Method Summary
 java.lang.String getName()
          Get the name of the property to be used to activate a profile.
 java.lang.String getValue()
          Get the value of the property required to activate a profile.
 void setName(java.lang.String name)
          Set the name of the property to be used to activate a profile.
 void setValue(java.lang.String value)
          Set the value of the property required to activate a profile.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private java.lang.String name
The name of the property to be used to activate a profile.


value

private java.lang.String value
The value of the property required to activate a profile.

Constructor Detail

ActivationProperty

public ActivationProperty()
Method Detail

getName

public java.lang.String getName()
Get the name of the property to be used to activate a profile.

Returns:
String

getValue

public java.lang.String getValue()
Get the value of the property required to activate a profile.

Returns:
String

setName

public void setName(java.lang.String name)
Set the name of the property to be used to activate a profile.

Parameters:
name -

setValue

public void setValue(java.lang.String value)
Set the value of the property required to activate a profile.

Parameters:
value -