org.apache.maven.settings
Class ActivationFile

java.lang.Object
  extended by org.apache.maven.settings.ActivationFile
All Implemented Interfaces:
java.io.Serializable

public class ActivationFile
extends java.lang.Object
implements java.io.Serializable

This is the file specification used to activate a profile. The missing value will be a the location of a file that needs to exist, and if it doesn't the profile must run. On the other hand exists will test for the existence of the file and if it is there will run the profile.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
ActivationFile()
           
 
Method Summary
 java.lang.String getExists()
          Get The name of the file that should exist to activate a profile.
 java.lang.String getMissing()
          Get The name of the file that should be missing to activate a profile.
 java.lang.String getModelEncoding()
           
 void setExists(java.lang.String exists)
          Set The name of the file that should exist to activate a profile.
 void setMissing(java.lang.String missing)
          Set The name of the file that should be missing to activate a profile.
 void setModelEncoding(java.lang.String modelEncoding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivationFile

public ActivationFile()
Method Detail

getExists

public java.lang.String getExists()
Get The name of the file that should exist to activate a profile.


getMissing

public java.lang.String getMissing()
Get The name of the file that should be missing to activate a profile.


setExists

public void setExists(java.lang.String exists)
Set The name of the file that should exist to activate a profile.

Parameters:
exists -

setMissing

public void setMissing(java.lang.String missing)
Set The name of the file that should be missing to activate a profile.

Parameters:
missing -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()


Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.