|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.model.ActivationProperty
public class ActivationProperty
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.
Constructor Summary | |
---|---|
ActivationProperty()
|
Method Summary | |
---|---|
ActivationProperty |
clone()
Method clone. |
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input source. |
String |
getName()
Get the name of the property to be used to activate a profile. |
String |
getValue()
Get the value of the property required to activate a profile. |
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field. |
void |
setName(String name)
Set the name of the property to be used to activate a profile. |
void |
setValue(String value)
Set the value of the property required to activate a profile. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActivationProperty()
Method Detail |
---|
public ActivationProperty clone()
clone
in class Object
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
-
public String getName()
public String getValue()
public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setName(String name)
name
- public void setValue(String value)
value
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |