Class ActivationFile

java.lang.Object
org.apache.maven.profiles.ActivationFile
All Implemented Interfaces:
Serializable

public class ActivationFile extends Object implements 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:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private String
    The name of the file that should exist to activate a profile.
    private String
    The name of the file that should be missing to activate a profile.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the name of the file that should exist to activate a profile.
    Get the name of the file that should be missing to activate a profile.
    void
    setExists(String exists)
    Set the name of the file that should exist to activate a profile.
    void
    setMissing(String missing)
    Set the name of the file that should be missing to activate a profile.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • missing

      private String missing
      The name of the file that should be missing to activate a profile.
    • exists

      private String exists
      The name of the file that should exist to activate a profile.
  • Constructor Details

    • ActivationFile

      public ActivationFile()
  • Method Details

    • getExists

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

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

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

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