java.lang.Object
org.apache.maven.model.ModelBase
org.apache.maven.model.Profile
org.apache.maven.shared.release.transform.jdom.JDomProfile
All Implemented Interfaces:
Serializable, Cloneable, org.apache.maven.model.InputLocationTracker

public class JDomProfile extends org.apache.maven.model.Profile
JDom implementation of poms PROFILE element
Since:
3.0
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final JDomModelBase
     

    Fields inherited from class org.apache.maven.model.Profile

    SOURCE_POM, SOURCE_SETTINGS
  • Constructor Summary

    Constructors
    Constructor
    Description
    JDomProfile(org.jdom.Element profile)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.maven.model.BuildBase
     
    List<org.apache.maven.model.Dependency>
     
    org.apache.maven.model.DependencyManagement
     

    Methods inherited from class org.apache.maven.model.Profile

    clone, getActivation, getId, getSource, setActivation, setBuild, setId, setSource, toString

    Methods inherited from class org.apache.maven.model.ModelBase

    addDependency, addModule, addPluginRepository, addProperty, addRepository, getDistributionManagement, getLocation, getModules, getPluginRepositories, getProperties, getReporting, getReports, getRepositories, removeDependency, removeModule, removePluginRepository, removeRepository, setDependencies, setDependencyManagement, setDistributionManagement, setLocation, setModules, setOtherLocation, setPluginRepositories, setProperties, setReporting, setReports, setRepositories

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • JDomProfile

      public JDomProfile(org.jdom.Element profile)
  • Method Details

    • getBuild

      public org.apache.maven.model.BuildBase getBuild()
      Overrides:
      getBuild in class org.apache.maven.model.Profile
    • getDependencies

      public List<org.apache.maven.model.Dependency> getDependencies()
      Overrides:
      getDependencies in class org.apache.maven.model.ModelBase
    • getDependencyManagement

      public org.apache.maven.model.DependencyManagement getDependencyManagement()
      Overrides:
      getDependencyManagement in class org.apache.maven.model.ModelBase