Class Profile

java.lang.Object
org.apache.maven.model.ModelBase
org.apache.maven.model.Profile
All Implemented Interfaces:
Serializable, Cloneable, InputLocationTracker

public class Profile extends ModelBase implements Serializable, Cloneable
Modifications to the build process which is activated based on environmental parameters or command line arguments.
Version:
$Revision$ $Date$
See Also:
  • Field Details Link icon

  • Constructor Details Link icon

    • Profile Link icon

      public Profile()
  • Method Details Link icon

    • clone Link icon

      public Profile clone()
      Method clone.
      Overrides:
      clone in class ModelBase
      Returns:
      Profile
    • getActivation Link icon

      public Activation getActivation()
      Get the conditional logic which will automatically trigger the inclusion of this profile.
      Returns:
      Activation
    • getBuild Link icon

      public BuildBase getBuild()
      Get information required to build the project.
      Returns:
      BuildBase
    • getId Link icon

      public String getId()
      Get the identifier of this build profile. This is used for command line activation, and identifies profiles to be merged.
      Returns:
      String
    • setActivation Link icon

      public void setActivation(Activation activation)
      Set the conditional logic which will automatically trigger the inclusion of this profile.
      Parameters:
      activation - a activation object.
    • setBuild Link icon

      public void setBuild(BuildBase build)
      Set information required to build the project.
      Parameters:
      build - a build object.
    • setId Link icon

      public void setId(String id)
      Set the identifier of this build profile. This is used for command line activation, and identifies profiles to be merged.
      Parameters:
      id - a id object.
    • setSource Link icon

      public void setSource(String source)
    • getSource Link icon

      public String getSource()
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object
      See Also: