|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.model.ActivationFile
public class ActivationFile
This is the file specification used to activate the profile. The missing value will be the location of a file that needs to exist, and if it doesn't the profile will be activated. On the other hand exists will test for the existence of the file and if it is there the profile will be activated.
Constructor Summary | |
---|---|
ActivationFile()
|
Method Summary | |
---|---|
ActivationFile |
clone()
Method clone. |
String |
getExists()
Get the name of the file that must exist to activate the profile. |
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input source. |
String |
getMissing()
Get the name of the file that must be missing to activate the profile. |
void |
setExists(String exists)
Set the name of the file that must exist to activate the profile. |
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field. |
void |
setMissing(String missing)
Set the name of the file that must be missing to activate the profile. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActivationFile()
Method Detail |
---|
public ActivationFile clone()
clone
in class Object
public String getExists()
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
-
public String getMissing()
public void setExists(String exists)
exists
- public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setMissing(String missing)
missing
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |