Class ActivationFile

  • All Implemented Interfaces:
    Serializable, Cloneable, InputLocationTracker

    public class ActivationFile
    extends Object
    implements Serializable, Cloneable, InputLocationTracker
    This is the file specification used to activate the profile. The missing value is 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.
    Variable interpolation for these file specifications is limited to ${project.basedir}, system properties and user properties.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Constructor Detail

      • ActivationFile

        public ActivationFile()
    • Method Detail

      • getExists

        public String getExists()
        Get the name of the file that must exist to activate the profile.
        Returns:
        String
      • getMissing

        public String getMissing()
        Get the name of the file that must be missing to activate the profile.
        Returns:
        String
      • setOtherLocation

        public void setOtherLocation​(Object key,
                                     InputLocation location)
        Parameters:
        key - a key object.
        location - a location object.
      • setExists

        public void setExists​(String exists)
        Set the name of the file that must exist to activate the profile.
        Parameters:
        exists - a exists object.
      • setMissing

        public void setMissing​(String missing)
        Set the name of the file that must be missing to activate the profile.
        Parameters:
        missing - a missing object.